forked from infra/ansible
Better caching for static dokuwiki images
This commit is contained in:
parent
500a89161d
commit
78dc0938bf
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user