New issue
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
Can't load .env variables into .conf #5
Comments
I'd just do it by hand, there arent too many variables it actually uses in the template, and this was just a convenience suggestion I provided to autofill them (didn't test it myself). |
I am trying that, through trial and error, but an example of what it should look like would help a lot. I've successfully added a few like this at the top of the .conf file:
|
If leave out the troublesome variables, I get further validation errors like:
Where my env line looks like: |
I recommend following nginx docs to resolve any individual issues with nginx config keys: https://www.nginx.com/blog/nginx-caching-guide/ As mentioned in those docs, the format for that config key is |
This line generates the .conf from the template, but doesn't seem to load any of the sourced .env variables -- nginx -t reports them as invalid...
The text was updated successfully, but these errors were encountered: