Which location is better saving nginx.conf?

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

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






Multiple websites on nginx, one IP

Updated May 02, 2016 08:01 AM