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