Nginx Notes
Nginx Notes

Nginx Notes

Tags
Nginx
Published
August 2, 2021

Installing Nginx

Enabling Nginx

This will help Nginx to recover from shutdown / restarts
sudo systemctl enable nginx

Starting Nginx

sudo systemctl start nginx

Reload Nginx

sudo nginx -s reload

Stop Nginx

sudo nginx -s quit

Managing Config

Create configs in /etc/nginx/sites-enabled/ and link them using symbolic links.