fix(): set the correct address ip

pull/3/head
Magicalex 2016-12-01 18:55:38 +01:00
parent 74ce9dfb12
commit d2146d736e
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
1 changed files with 1 additions and 0 deletions

View File

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