... | @@ -132,12 +132,12 @@ server { |
... | @@ -132,12 +132,12 @@ server { |
|
listen 80;
|
|
listen 80;
|
|
server_name shuidi.dev.pingansec.com;
|
|
server_name shuidi.dev.pingansec.com;
|
|
index index.html index.htm index.php;
|
|
index index.html index.htm index.php;
|
|
root /Users/www/web-php/app-changning;
|
|
root /Users/www/web-php/app-shuidi;
|
|
rewrite . /index.php;
|
|
rewrite . /index.php;
|
|
|
|
|
|
|
|
|
|
location ~ .*\.(php|php5)?$ {
|
|
location ~ .*\.(php|php5)?$ {
|
|
fastcgi_pass unix:/tmp/php-cgi.sock;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_index index.php;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
include fastcgi_params;
|
|
include fastcgi_params;
|
... | | ... | |