diff --git a/root/defaults/nginx/site-confs/default.conf.sample b/root/defaults/nginx/site-confs/default.conf.sample index 70359ee..4090945 100644 --- a/root/defaults/nginx/site-confs/default.conf.sample +++ b/root/defaults/nginx/site-confs/default.conf.sample @@ -10,7 +10,7 @@ server { server_name _; root /app/www/public; - index index.html index.htm index.php; + index index.php index.html; location / { # enable for basic auth @@ -21,7 +21,7 @@ server { } # set expiration of assets to MAX for caching - location ~* \.(ico|css|js)(\?[0-9]+)?$ { + location ~* \.(ico|css|js|png|gif)(\?[0-9]+)?$ { expires max; log_not_found off; } @@ -30,6 +30,7 @@ server { fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; + fastcgi_read_timeout 3600; include /etc/nginx/fastcgi_params; }