What is Nostr?
Mario Zechner /
npub1h6q…5nvc
2024-11-29 23:07:51

Mario Zechner on Nostr: Asked Claude to give me a Docker Compose config for Nginx that generates basic auth ...

Asked Claude to give me a Docker Compose config for Nginx that generates basic auth credentials based on an environment variable. This is what it generated.

If you forget to set the env, you get user name "admin" and password "admin". Not entirely obvious on first sight.

How many people will just copy & paste such things, me included? LLMs will do so much harm.

Author Public Key
npub1h6qmf9h2qfvfgf663q6xl7lh6gt63zr0zzqcteqp8pmy0mls3x6qsw5nvc