script for redeploying nginx
This commit is contained in:
@@ -34,6 +34,15 @@ We run our reverse-proxy on homelab1 or talksik-homelab-main.
|
|||||||
|
|
||||||
The current configuration is at `[email protected]:/etc/nginx/nginx.conf` as one would expect. However, we have a (likely stale) copy in `./reverse-proxy`.
|
The current configuration is at `[email protected]:/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
|
## Kubernetes
|
||||||
Using k3s. Lightweight, easy system service.
|
Using k3s. Lightweight, easy system service.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user