You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
caddy.nix Adds a tlsConfig block to Caddyfile by default. If you now want to use tls internal Caddy will fail, as there will then be two different TLS configurations at the same time.
It should be possible to disable this default tlsConfig for local setups, which might not use ACME to generate certificates.
Oct 24 21:03:29 cosmos caddy[1571913]: run: loading initial config: loading new config: loading http app module: provision http: getting tls app: loading tls app module: tls: invalid configuration: automation policy 1 is the second policy that acts as default/catch-all, but will never be used
Expected behavior
No errors
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Describe the bug
caddy.nix Adds a tlsConfig block to Caddyfile by default. If you now want to use
tls internal
Caddy will fail, as there will then be two different TLS configurations at the same time.It should be possible to disable this default tlsConfig for local setups, which might not use ACME to generate certificates.
Steps To Reproduce
Expected behavior
No errors
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
services.caddy
The text was updated successfully, but these errors were encountered: