From d2146d736eef2f8ef714629eba0afd601a71dd68 Mon Sep 17 00:00:00 2001 From: Magicalex Date: Thu, 1 Dec 2016 18:55:38 +0100 Subject: [PATCH] fix(): set the correct address ip --- nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx.conf b/nginx.conf index b1cebec..47d6b80 100644 --- a/nginx.conf +++ b/nginx.conf @@ -129,6 +129,7 @@ http { fastcgi_pass unix:/tmp/php-fpm.sock; fastcgi_intercept_errors on; fastcgi_request_buffering off; + fastcgi_param REMOTE_ADDR $http_x_real_ip; } }