|
@@ -49,16 +49,14 @@ http {
|
|
|
index index.php;
|
|
|
|
|
|
location / {
|
|
|
- try_files $uri $uri/ /index.php?$uri&$args;
|
|
|
+ try_files $uri /index.php?$uri&$args;
|
|
|
}
|
|
|
|
|
|
- location ~ \.php$ {
|
|
|
-
|
|
|
- fastcgi_pass fastcgi_backend;
|
|
|
+ location = /index.php {
|
|
|
+ fastcgi_pass fastcgi_backend;
|
|
|
fastcgi_keep_conn on;
|
|
|
- fastcgi_index index.php;
|
|
|
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
- include /etc/nginx/fastcgi_params;
|
|
|
+ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
+ include /etc/nginx/fastcgi_params;
|
|
|
}
|
|
|
}
|
|
|
}
|