|
@@ -39,30 +39,9 @@ http
|
|
|
fastcgi_connect_timeout 75;
|
|
|
fastcgi_read_timeout 600;
|
|
|
fastcgi_send_timeout 600;
|
|
|
-
|
|
|
charset utf-8;
|
|
|
- location /data/log {
|
|
|
- deny all;
|
|
|
- return 403;
|
|
|
- }
|
|
|
location / {
|
|
|
- index index.html index.htm Index.php;
|
|
|
- }
|
|
|
-
|
|
|
- if (!-e $request_filename) {
|
|
|
- rewrite ^(.*)$ /Index.php?s=/$1 last;
|
|
|
- }
|
|
|
-
|
|
|
- location ~ \.php {
|
|
|
- add_header Cache-Control no-store;
|
|
|
- set $folder_name /var/www/html/public;
|
|
|
- root $folder_name;
|
|
|
- fastcgi_pass accfpm:9000;
|
|
|
- fastcgi_index Index.php;
|
|
|
- fastcgi_split_path_info ^(.+\.php)(.*)$;
|
|
|
- fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
|
- fastcgi_param SCRIPT_FILENAME $folder_name$fastcgi_script_name;
|
|
|
- include fastcgi_params;
|
|
|
+ index index.html index.htm;
|
|
|
}
|
|
|
}
|
|
|
}
|