Answers for "how to set up nginx server blocks (virtual hosts) on ubuntu 18.04"

3

link sites-available to sites-enabled nginx

sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/
sudo ln -s /etc/nginx/sites-available/test.com /etc/nginx/sites-enabled/
Posted by: Guest on August-31-2020

Code answers related to "how to set up nginx server blocks (virtual hosts) on ubuntu 18.04"

Browse Popular Code Answers by Language