nginx_recipes docker mount points #1163
-
I am setting up tandoor, and can not wrap my head around the nginx web server part. In the documentation you write this: This has the downside that it is difficult to supply the configuration to the webserver (e.g. nginx). Up until version 0.13.0, this had to be done manually by downloading the nginx config file and placing it in a directory that was then mounted into the nginx container. I see all my containers starting up, and when I set a port for the web_recipes container, i can access it directly. I can also shell into the nginx_recipes and see that mediafiles and staticfiles are accessible within the container (under /media and /static. I can also cd to /etc/nginx/conf.d/ and see that it is set to present the default nginx welcome page. Is there something else i need to do to specify the nginx config? With the above note, I can't manual add things to the config file. I feel I am missing something obvious, but don't see it in the documentation, faq or previous issues in github. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
i dont think you are missing anything, the nginx config is stored in a volume, if you want to edit it you need to go into that volume or change the mount point. Or am i missing a point ? |
Beta Was this translation helpful? Give feedback.
i dont think you are missing anything, the nginx config is stored in a volume, if you want to edit it you need to go into that volume or change the mount point.
If you just use the default docker compose and nginx configuration this shoudl all work automatically and should also be possible to integrate this into any proxy setup you like without making changes to the config.
Or am i missing a point ?