Caddy validate + envfile

Is there a way to use caddy validate CLI and pass it --envfile? I get this error whenever I try to run it…

Error: loading tls app module: provision tls: provisioning automation policy 0: loading TLS automation management module: position 0: loading module 'acme': provision tls.issuance.acme: expanding email address '{env.EMAIL}': evaluated placeholder {env.EMAIL} is empty

Oh, nope. Validate doesn’t have an --envfile argument. That’s an oversight I guess. Feel free to open a feature request on GitHub.

1 Like


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.