Add mime types and full path to fcgi params
parent
95c905e84a
commit
d9a3e987e9
|
@ -1,6 +1,7 @@
|
||||||
proxy_cache_path /tmp levels=1:2 keys_zone=sogo:10m inactive=24h max_size=1g;
|
proxy_cache_path /tmp levels=1:2 keys_zone=sogo:10m inactive=24h max_size=1g;
|
||||||
server {
|
server {
|
||||||
include /etc/nginx/conf.d/listen.active;
|
include /etc/nginx/conf.d/listen.active;
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
override_charset on;
|
override_charset on;
|
||||||
ssl on;
|
ssl on;
|
||||||
|
@ -27,7 +28,7 @@ server {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass phpfpm:9000;
|
fastcgi_pass phpfpm:9000;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include /etc/nginx/fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_param PHP_VALUE "max_execution_time = 1200
|
fastcgi_param PHP_VALUE "max_execution_time = 1200
|
||||||
|
|
Loading…
Reference in New Issue