mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-16 17:45:14 +01:00
fix proxy
This commit is contained in:
parent
cae02577c8
commit
ed25297503
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue