diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 233d7d4..12bbd1a 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -39,6 +39,16 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; + map $sent_http_content_type $expires { + default off; + ~image/ 10d; + ~video/ 10d; + ~audio/ 10d; + text/css 10d; + application/javascript 10d; + } + expires $expires; + ## # Logging Settings ##