Tweaked nginx and php for performance

This commit is contained in:
Ric Harvey
2015-01-28 11:33:00 +00:00
parent 17737ab026
commit 4bab9195d4
4 changed files with 29 additions and 12 deletions

View File

@@ -38,6 +38,12 @@ server {
include fastcgi_params;
}
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
access_log off;
log_not_found off;
expires 5d;
}
# deny access to . files, for security
#
location ~ /\. {