Better caching for static dokuwiki images

This commit is contained in:
Thomas Basler 2020-09-12 18:59:35 +02:00
parent 500a89161d
commit 78dc0938bf
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ server {
deny all;
}
location ~ ^/wiki/lib.*\.(gif|png|ico|jpg)$ {
expires 31d;
}
location /static {
autoindex on;
}