How to create soft link in nginx /etc/nginx/sites-available and /etc/nginx/sites-enabled/
Navigate to the sites-enabled directory Create the soft link using sudo Test the Nginx configuration Reload Nginx to apply changes How to verify it worked
Navigate to the sites-enabled directory
bash
cd /etc/nginx/sites-enabled/Create the soft link using sudo
bash
sudo ln -s /etc/nginx/sites-available/yourdomain.com .Test the Nginx configuration
bash
sudo nginx -tReload Nginx to apply changes
bash
sudo systemctl reload nginxHow to verify it worked
bash
ls -l /etc/nginx/sites-enabledlinux-command/ln.md