funkwhale: Improve the nginx reverse proxy conf
Partly for the soon-to-come 0.20 release
This commit is contained in:
parent
6f023f2fa4
commit
92f9cac25f
2 changed files with 3 additions and 4 deletions
|
@ -4,4 +4,4 @@ appVersion: "0.19.1"
|
||||||
description: A social platform to enjoy and share music
|
description: A social platform to enjoy and share music
|
||||||
icon: https://funkwhale.audio/favicon.png
|
icon: https://funkwhale.audio/favicon.png
|
||||||
name: funkwhale
|
name: funkwhale
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
|
|
|
@ -92,10 +92,9 @@ data:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
proxy.conf: |
|
proxy.conf: |
|
||||||
real_ip_header X-Forwarded-For;
|
proxy_set_header Host $host;
|
||||||
set_real_ip_from 10.0.0.0/8;
|
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-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
|
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
|
||||||
proxy_set_header X-Forwarded-Host $http_x_forwarded_host;
|
proxy_set_header X-Forwarded-Host $http_x_forwarded_host;
|
||||||
|
|
Loading…
Reference in a new issue