We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using this directive to load certificates through systemd's LoadCredential= (reference here).
LoadCredential=
tls "{env.CREDENTIALS_DIRECTORY}/cert.pem" "{env.CREDENTIALS_DIRECTORY}/cert.key"
Unfortunately, the placeholder does not seem to get resolved.
Dec 04 10:49:00 caddy[1517810]: Error: loading http app module: provision http: getting tls app: loading tls app module: provision tls: loading certificates: open {env.CREDENTIALS_DIRECTORY}/cert.pem: no such file or directory
The text was updated successfully, but these errors were encountered:
FYI you can use {$ENV} syntax instead for now, since that's replaces at config-adapt time instead of at runtime, so no special support is needed for that to work. https://caddyserver.com/docs/caddyfile/concepts#environment-variables
{$ENV}
But either way, no harm in adding this, and @mohammed90 already got to it quickly 😊 #5963
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I'm using this directive to load certificates through systemd's
LoadCredential=
(reference here).Unfortunately, the placeholder does not seem to get resolved.
The text was updated successfully, but these errors were encountered: