1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-22 10:08:54 +00:00

docs(nginx): initialize cheatsheet

This commit is contained in:
Julien Le Coupanec 2020-06-21 17:21:53 +02:00
parent 665830f2bf
commit abed550112
2 changed files with 9 additions and 0 deletions

View File

@ -109,6 +109,7 @@ Feel free to take a look. You might learn new things. They have been designed to
- [Kubernetes](tools/kubernetes.sh)
- [Nanobox Boxfile](tools/nanobox_boxfile.yml)
- [Nanobox CLI](tools/nanobox_cli.sh)
- [Nginx](tools/nginx.sh)
</details>
## 🙌🏼 How to Contribute?

8
tools/nginx.sh Normal file
View File

@ -0,0 +1,8 @@
##############################################################################
# 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