Nginx

How to create Virtual Hosts in Nginx server

There are two directories in which we can create and store our virtual host configuration files. Both of them are located inside /etc/nginx directory. The name of those two directories are sites-available and sites-enabled. But why do we need two directories to store our virtual host files? Actually, we will store our virtual host files in the sites-available directory only. Then, we …

How to create Virtual Hosts in Nginx server Read More »