fix proxy

This commit is contained in:
nora 2022-11-25 22:10:52 +01:00
parent cae02577c8
commit ed25297503
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
sudo certbot certonly --standalone sudo certbot certonly --standalone
``` ```
``` ```
nilstrieb.dev docker.nilstrieb.dev cors-school.nilstrieb.dev api.cors-school.nilstrieb.dev hugo-chat.nilstrieb.dev api.hugo-chat.nilstrieb.dev nilstrieb.dev docker.nilstrieb.dev cors-school.nilstrieb.dev api.cors-school.nilstrieb.dev hugo-chat.nilstrieb.dev api.hugo-chat.nilstrieb.dev bisect-rustc.nilstrieb.dev
``` ```
```sh ```sh
sudo tee /etc/letsencrypt/renewal-hooks/pre/001-stop-nginx.sh > /dev/null <<EOF sudo tee /etc/letsencrypt/renewal-hooks/pre/001-stop-nginx.sh > /dev/null <<EOF

View file

@ -24,7 +24,7 @@ http {
location / { location / {
resolver 127.0.0.11 valid=30s; resolver 127.0.0.11 valid=30s;
set $upstream_service cargo-bisect-rustc-service; set $upstream_service cargo-bisect-rustc-service;
proxy_pass http://$upstream_service:4000/; proxy_pass http://$upstream_service:4000;
} }
} }