more accurate instructions

This commit is contained in:
talksik
2023-12-23 22:11:05 -08:00
parent 4e825233c0
commit e673f9812a
+6 -1
View File
@@ -32,13 +32,18 @@ Given that the reverse-proxy works and domain works, hitting `https://registry.f
## Reverse-proxy ## Reverse-proxy
We run our reverse-proxy on homelab1 or talksik-homelab-main. 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`. The current configuration is at `talksik@homelab1.home:/etc/nginx/nginx.conf` as one would expect.
Make updates to the one in this repo, and then copy to machine.
Update by doing the following: Update by doing the following:
```sh ```sh
set -e set -e
set -o pipefail set -o pipefail
git pull
sudo mv ./reverse-proxy/nginx.conf /etc/nginx/nginx.conf
sudo nginx -t sudo nginx -t
sudo service nginx restart sudo service nginx restart
``` ```