mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-10-31 18:52:29 +00:00
9 lines
374 B
Bash
9 lines
374 B
Bash
##############################################################################
|
|
# NGINX
|
|
# DOCUMENTATION: https://nginx.org/en/docs/
|
|
##############################################################################
|
|
|
|
sudo nginx -t # Check syntax
|
|
sudo systemctl reload nginx # Reload nginx
|
|
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/ # Link website
|