-
Notifications
You must be signed in to change notification settings - Fork 604
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
Cannot reload template file? #297
Comments
|
@buchdag thanks a lot but how do I verify it is actually reloaded or how do I check for errors? It still seems to be the same |
If docker-gen picked up changes that impact the generated If you see
|
@buchdag what exactly impacts default.conf? Does it recognize if the template file changes? |
Your change to the template file have to result in changes to the For instance let's say you add some code the template file that generated additional configuration lines according to the value of a container environment variable called No one but you can tell wether a change in the generated file should occur with a specific template file on your specific Docker environment with your own containers. And don't forget that |
@buchdag thanks a lot I will try that! I've added an additional location entry in the template and it did not pick up anything. Just one more thing: is it possible to add an additional, custom, static config to this running nginx instance somehow? |
Your question is specific to |
Thank you, I've posted in the group with the exact problem I'm trying to solve: |
@buchdag one more question, if I simply change a variable like the file is not reloaded. How can I reliably force this? |
Hi there,
I came across this question a few times, but no solution helped. I have the following setup:
https://gist.github.com/citymonitor/93c4d2faeeef2e9fdd2c517fc3e071e0
It's all running fine. But I don't get how to reload the config (recreate default.conf from nginx.tmpl).
I tried: docker-compose up -d --force-recreate --build but this didn't help.
Can anyone tell me how to do this?
The text was updated successfully, but these errors were encountered: