mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 16:36:25 +00:00
fix: override X-Forwarded-For address in bench manager
This commit is contained in:
parent
96f1229648
commit
53a8fedadc
@ -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 }};
|
||||
|
Loading…
Reference in New Issue
Block a user