proxy_set_header X-Forwarded-Proto $schema; needed for HTTPS

master
dgtlmoon 2022-03-05 16:29:42 +01:00
rodzic 7410b89139
commit 8f74534317
1 zmienionych plików z 2 dodań i 0 usunięć

@ -5,6 +5,7 @@ Without this, the application will not listen to the following variables
```
proxy_set_header Host "localhost";
proxy_set_header X-Forwarded-Prefix /app;
proxy_set_header X-Forwarded-Proto $schema;
```
Easiest example is to create an extra docker-compose YML file and run it with the shipped version
@ -52,6 +53,7 @@ server {
proxy_pass http://changedetection-app:5000/;
proxy_set_header Host "localhost";
proxy_set_header X-Forwarded-Prefix /app;
proxy_set_header X-Forwarded-Proto $schema;
}
}
```