mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-12-22 10:08:54 +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
|