Which location is better saving nginx.conf?

by user938363   Last Updated October 10, 2019 04:02 AM

I have been working with nginx for some time and a little confused by multiple location where the nginx.conf scan be saved. I know the nginx.conf can be saved to 2 locations:

  1. /etc/nginx/sites-available/default
  2. /opt/nginx/conf/nginx.conf

Which location is better saving nginx.conf? Any difference with different location?

Tags : nginx


Related Questions


Updated May 15, 2015 22:00 PM

Updated March 27, 2015 09:00 AM

Updated June 02, 2015 11:00 AM

Updated April 07, 2015 23:00 PM

Updated May 02, 2016 08:01 AM