fastcgi_no_cache $no_cache;
fastcgi_param REDIRECT_STATUS 200;
- fastcgi_pass php5_fpm_lhc_stats;
+ fastcgi_pass php_fpm_lhc_stats;
}
location ~* ^.+\.php$ {
## Any other attempt to access PHP files redirects to the root.
## Redirect to the root if attempting to access a txt file.
return 302 /;
}
-location ~* \.(?:bat|html?|git|ini|sh|svn[^.]*|txt|tpl|xml)$ {
+location ~* \.(?:bat|git|ini|sh|svn[^.]*|txt|tpl|xml)$ {
## Disallow access to several helper files.
return 404;
}