Skip to content
Snippets Groups Projects
Verified Commit 8394abe1 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fix #834: Simplified embedded docker reverse proxy IP configuration

parent 30540709
No related branches found
No related tags found
No related merge requests found
Simplified embedded docker reverse proxy IP configuration (#834)
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment