nginx- duplicate default server error
You likely have other files (such as the default configuration) located in /etc/nginx/sites-enabled that needs to be removed. This issue is caused by a repeat of the default_server parameter supplied to one or more listen directives in your files. You’ll likely find this conflicting directive reads something similar to: listen 80 default_server; As the nginx … Read more