Closed
Description
i can mount a configuration file for nginx but i must enter the container edit the nginx.conf file
However, it doesn't make me feel comfortable
because,if i want to use the default port 8080 settings,I have to get into the container,edit or delete some code of nginx.conf file,so that would make it look useless for mount a configuration file
so why not
move some code of nginx.conf to /etc/nginx/conf.d/server.conf or /etc/nginx/conf.d/default.conf for default config
some code like:
server {
listen [::]:8080 default_server;
listen 8080 default_server;
server_name _;
..............
so We can edit server.conf or default.conf without entering the container
Metadata
Metadata
Assignees
Labels
No labels