Question
In the Context of Nginx, What Is the Difference between the default.conf and nginx.conf Files?
Answer
For general Nginx purposes, the nginx.conf file specifies the location of the Nginx logs and the names of the log files themselves.
For general Nginx purposes, the default.conf handles many more configuration items than nginx.conf. The default.conf file will allow you to configure a non-standard port (other than port 80) and specifies if Nginx will act as a load balancer or a web server.
…