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:
parent
665830f2bf
commit
abed550112
@ -109,6 +109,7 @@ Feel free to take a look. You might learn new things. They have been designed to
|
|||||||
- [Kubernetes](tools/kubernetes.sh)
|
- [Kubernetes](tools/kubernetes.sh)
|
||||||
- [Nanobox Boxfile](tools/nanobox_boxfile.yml)
|
- [Nanobox Boxfile](tools/nanobox_boxfile.yml)
|
||||||
- [Nanobox CLI](tools/nanobox_cli.sh)
|
- [Nanobox CLI](tools/nanobox_cli.sh)
|
||||||
|
- [Nginx](tools/nginx.sh)
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
## 🙌🏼 How to Contribute?
|
## 🙌🏼 How to Contribute?
|
||||||
|
8
tools/nginx.sh
Normal file
8
tools/nginx.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user