docker-php-nginx icon indicating copy to clipboard operation
docker-php-nginx copied to clipboard

What's best way to edit Nginix configuration in /etc/nginx/ (similarly php-setting.ini)?

Open chotalia opened this issue 3 years ago • 0 comments

As an example if I want to use the different root folder i.e. instead of /var/www/html using /var/www/www.domain.com and two or three other settings.

  1. Should I copy the config in different folder and then mount using /nginx-server.conf when starting the container? Where is the alternative location for the config generally?

  2. Or fork the repo, edit the config?

Or am I missing some other better ways?

chotalia avatar Sep 18 '22 13:09 chotalia