:8080 { basic_auth /* { # Set BASIC_AUTH_HASH on the server: caddy hash-password --plaintext 'YOUR_PWD' admin {env.BASIC_AUTH_HASH} } reverse_proxy localhost:4213 }