|
|
@ -117,7 +117,10 @@ server { |
|
|
|
set $fsn $fastcgi_script_name; |
|
|
|
set $fsn $fastcgi_script_name; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#for php-cgi |
|
|
|
fastcgi_pass 127.0.0.1:9000; |
|
|
|
fastcgi_pass 127.0.0.1:9000; |
|
|
|
|
|
|
|
#for php-fpm |
|
|
|
|
|
|
|
#fastcgi_pass unix:/var/run/php5-fpm.sock; |
|
|
|
include fastcgi_params; |
|
|
|
include fastcgi_params; |
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fsn; |
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fsn; |
|
|
|
|
|
|
|
|
|
|
|