nginx config edit in ubuntu server code example
Example 1: install nginx on ubuntu 18.04
sudo apt update
sudo apt install nginx
Example 2: 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/