Allow browser caching for static contents
This commit is contained in:
parent
7c62f4b8e9
commit
62d9272c05
|
@ -12,6 +12,11 @@
|
|||
access_log off;
|
||||
}
|
||||
|
||||
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {
|
||||
expires 30d;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
location = /mailinabox.mobileconfig {
|
||||
alias /var/lib/mailinabox/mobileconfig.xml;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue