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; } }