diff --git a/roles/web/files/vhost b/roles/web/files/vhost index 671dbb7..22d5952 100644 --- a/roles/web/files/vhost +++ b/roles/web/files/vhost @@ -55,6 +55,10 @@ server { deny all; } + location ~ ^/wiki/lib.*\.(gif|png|ico|jpg)$ { + expires 31d; + } + location /static { autoindex on; }