This commit is contained in:
nora 2022-09-10 22:35:40 +02:00
parent 6a685309cb
commit 92c4818317
2 changed files with 5 additions and 1 deletions

View file

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

View file

@ -83,6 +83,10 @@ http {
return 204;
}
proxy_set_header Connection '';
proxy_http_version 1.1;
chunked_transfer_encoding off;
proxy_pass_request_headers on;
proxy_pass http://hugo-chat-backend:8080/;