diff --git a/build/common/nginx-default.conf.template b/build/common/nginx-default.conf.template index f6e375fb..a50571ab 100644 --- a/build/common/nginx-default.conf.template +++ b/build/common/nginx-default.conf.template @@ -50,7 +50,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 $host; proxy_set_header Host $http_host;