updated NGINX sample configuration

This commit is contained in:
Régis Hanol 2013-08-13 22:09:44 +02:00
parent e397c14702
commit 71c33086b4
1 changed files with 0 additions and 6 deletions

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)/ { location ~ ^/(assets|uploads)/ {
expires 1y; expires 1y;
add_header Cache-Control public; add_header Cache-Control public;