1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00

[autopatch] Fix Host and X-Forwarded-For header spoofing

This commit is contained in:
tituspijean 2023-07-05 00:44:16 +02:00 committed by YunoHost Bot
parent a996dfc987
commit 54ad46d33c

View file

@ -19,7 +19,7 @@ location __PATH__/ {
}
location /dns-query {
proxy_set_header Host $http_host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_buffering on;