diff --git a/bench/config/templates/bench_manager_nginx.conf b/bench/config/templates/bench_manager_nginx.conf index 4f8426c9..bab26e88 100644 --- a/bench/config/templates/bench_manager_nginx.conf +++ b/bench/config/templates/bench_manager_nginx.conf @@ -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 }};