mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-22 12:55:21 +00:00
10 lines
418 B
Bash
10 lines
418 B
Bash
##############################################################################
|
|
# NGINX
|
|
# DOCUMENTATION: https://nginx.org/en/docs/
|
|
##############################################################################
|
|
|
|
sudo nginx -t # Check syntax
|
|
sudo systemctl reload nginx # Reload nginx
|
|
sudo service nginx restart # Restart nginx
|
|
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/ # Link website
|