R
R
Roman Barkholenko2015-05-15 20:32:55
Nginx
Roman Barkholenko, 2015-05-15 20:32:55

How to update/add config for nginx in docker?

There is a need to deploy nginx on the server, followed by uwsig, which serves the python application. Everything is running inside docker containers. In the future, there may be 2-3 such applications.
How can I put a new conf file (in sites-enabled) inside the nginx container in the future?
All I can think of at the moment is to push the file directly into the container in any of the ways. But the solution seems to be not very docker-way. Moreover, you also need to restart nginx after that

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Barkholenko, 2015-05-15
@

Still, the best solution would be to rebuild the container

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question