script for redeploying nginx

This commit is contained in:
talksik
2023-12-23 22:08:49 -08:00
parent 29b4a5e71e
commit 4e825233c0
+9
View File
@@ -34,6 +34,15 @@ We run our reverse-proxy on homelab1 or talksik-homelab-main.
The current configuration is at `talksik@homelab1.home:/etc/nginx/nginx.conf` as one would expect. However, we have a (likely stale) copy in `./reverse-proxy`.
Update by doing the following:
```sh
set -e
set -o pipefail
sudo nginx -t
sudo service nginx restart
```
## Kubernetes
Using k3s. Lightweight, easy system service.