Answers for "enable website nginx"

0

how to enable a site conf in nginx

sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/
Posted by: Guest on February-10-2021
1

nginx enable site

If you have installed the nginx package from the Ubuntu repositories, 
you will have two directories.

/etc/nginx/sites-enabled and /etc/nginx/sites-available.

In the main nginx configuration, /etc/nginx/nginx.conf, 
you have the following line:

include /etc/nginx/sites-enabled/*.conf;
Posted by: Guest on December-22-2021

Browse Popular Code Answers by Language