1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/penpot_ynh.git synced 2024-09-03 19:56:56 +02:00

Fixed nginx.conf

This commit is contained in:
orhtej2 2024-02-20 23:11:45 +01:00
parent 2fb3df40a2
commit 4d3c97b345

View file

@ -97,11 +97,11 @@ location / {
more_set_headers "X-Cache-Status: $upstream_cache_status";
}
location ~* \.(js|css).*$ {
location ~* ^/.*\.(js|css).*$ {
more_set_headers "Cache-Control: 'max-age=86400'"; # 24 hours
}
location ~* \.(html).*$ {
location ~* ^/.*\.(html).*$ {
more_set_headers "Cache-Control: 'no-cache, max-age=0'";
}