w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
there are two config file /etc/nginx/conf.d/default.conf and /etc/nginx/nginx.conf which one is enable?

the general configuration of nginx is in /etc/nginx/nginx.conf. /etc/nginx/conf.d/default.conf is used to configure the default virtual host. For this you can also use sites-available and sites-enabled.

You can find more details at a blog entry from digital ocean How To Configure The Nginx Web Server On a Virtual Private Server





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.