From b9bcb048d3c2d7a279ec016b49f03cf3abf0081b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 3 Sep 2013 15:48:36 +0200 Subject: [PATCH] only send one remote ip to pan.do/ra (nginx setup) --- etc/nginx/pandora | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/nginx/pandora b/etc/nginx/pandora index 8a95bf6b9..d3426fc8f 100644 --- a/etc/nginx/pandora +++ b/etc/nginx/pandora @@ -35,7 +35,7 @@ server { } location / { - 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 http; proxy_set_header Host $http_host; proxy_redirect off;