1
0
forked from infra/ansible

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

View File

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