diff --git a/charts/funkwhale/Chart.yaml b/charts/funkwhale/Chart.yaml index 129abb2..57720ca 100644 --- a/charts/funkwhale/Chart.yaml +++ b/charts/funkwhale/Chart.yaml @@ -4,4 +4,4 @@ appVersion: "0.19.1" description: A social platform to enjoy and share music icon: https://funkwhale.audio/favicon.png name: funkwhale -version: 0.2.3 +version: 0.2.4 diff --git a/charts/funkwhale/templates/configmap-front.yaml b/charts/funkwhale/templates/configmap-front.yaml index e2520ab..34720f8 100644 --- a/charts/funkwhale/templates/configmap-front.yaml +++ b/charts/funkwhale/templates/configmap-front.yaml @@ -92,10 +92,9 @@ data: } } proxy.conf: | - real_ip_header X-Forwarded-For; - set_real_ip_from 10.0.0.0/8; + 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;