1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

Allow browser caching for static contents

This commit is contained in:
Mansoor A 2018-05-06 11:16:53 +05:30
parent 7c62f4b8e9
commit 62d9272c05

View File

@ -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;
}