diff --git a/iacore.conf b/iacore.conf index 35bac76..ef257ae 100644 --- a/iacore.conf +++ b/iacore.conf @@ -12,4 +12,9 @@ server { location / { try_files $uri $uri.html $uri/ =404; } + + location ~* .(eot|otf|woff|ttf|css|js|svg|jpg + |jpeg|gif|png|ico|bmp|webp)$ { + add_header Cache-Control max-age=35436000; + } }