1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Fix X-Forwarded-For header spoofing

This commit is contained in:
ewilly 2023-07-28 20:55:13 +02:00 committed by GitHub
parent 14cabff8af
commit 8310ddd7b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Host $host;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;