1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-22 12:55:21 +00:00
awesome-cheatsheets/tools/nginx.sh
2020-07-01 11:31:00 +02:00

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