updated NGINX sample configuration

This commit is contained in:
Régis Hanol 2013-08-13 22:09:44 +02:00
parent e397c14702
commit 71c33086b4

View File

@ -30,12 +30,6 @@ server {
# }
#}
location ~ ^/t\/[0-9]+\/[0-9]+\/avatar {
expires 1d;
add_header Cache-Control public;
add_header ETag "";
}
location ~ ^/(assets|uploads)/ {
expires 1y;
add_header Cache-Control public;