Fix #834: Simplified embedded docker reverse proxy IP configuration

environments/review-front-revi-ncqkze/deployments/1738
Eliot Berriot 2019-06-10 15:28:09 +02:00
rodzic 30540709eb
commit 8394abe15a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -0,0 +1 @@
Simplified embedded docker reverse proxy IP configuration (#834)

Wyświetl plik

@ -4,10 +4,9 @@
# at https://dev.funkwhale.audio/funkwhale/funkwhale/blob/develop/deploy/funkwhale_proxy.conf
# your proxy will also need to support websockets
real_ip_header X-Forwarded-For;
set_real_ip_from 172.17.0.0/16;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_x_forwarded_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-Host $http_x_forwarded_host;