Skip to content

Commit

Permalink
Remove X-Forwarded-For
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Dec 7, 2024
1 parent a99f71c commit ae4954c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-Ip $http_x_forwarded_for;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_cache_bypass $http_upgrade;
}
}
Expand Down

0 comments on commit ae4954c

Please sign in to comment.