File tree Expand file tree Collapse file tree 4 files changed +2
-5
lines changed Expand file tree Collapse file tree 4 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ server {
63
63
include fastcgi_params;
64
64
fastcgi_pass {{ this .fpmSocket }};
65
65
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
66
- {% if this .ssl %}
66
+ {% if this .ssl %}
67
67
fastcgi_param REMOTE_ADDR $http_x_real_ip;
68
- {% endif %}
68
+ {% endif %}
69
69
fastcgi_param HTTP_REFERER $http_referer;
70
70
fastcgi_param PHP_VALUE "
71
71
error_log = {{ this .logDir }}/{{ this .domain }}-php.log
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ server {
23
23
include fastcgi_params;
24
24
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
25
25
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
26
- fastcgi_param REMOTE_ADDR $http_x_real_ip;
27
26
fastcgi_param HTTP_REFERER $http_referer;
28
27
fastcgi_param PHP_VALUE "
29
28
error_log = /var/log/nginx/test-0.dev-php.log
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ server {
23
23
include fastcgi_params;
24
24
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
25
25
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
26
- fastcgi_param REMOTE_ADDR $http_x_real_ip;
27
26
fastcgi_param HTTP_REFERER $http_referer;
28
27
fastcgi_param PHP_VALUE "
29
28
error_log = /var/log/nginx/test-a.dev-php.log
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ server {
23
23
include fastcgi_params;
24
24
fastcgi_pass unix:/run/php/php5.0-fpm.sock;
25
25
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
26
- fastcgi_param REMOTE_ADDR $http_x_real_ip;
27
26
fastcgi_param HTTP_REFERER $http_referer;
28
27
fastcgi_param PHP_VALUE "
29
28
error_log = /home/logs/test-c.dev-php.log
You can’t perform that action at this time.
0 commit comments