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:
parent
a996dfc987
commit
54ad46d33c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue