Skip to content

Commit

Permalink
fix: override X-Forwarded-For address in bench manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Oct 19, 2023
1 parent 96f1229 commit 53a8fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/config/templates/bench_manager_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ server {
}

location @webserver {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frappe-Site-Name {{ bench_manager_site_name }};
proxy_set_header Host {{ bench_manager_site_name }};
Expand Down

0 comments on commit 53a8fed

Please sign in to comment.