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:
parent
2fb3df40a2
commit
4d3c97b345
1 changed files with 2 additions and 2 deletions
|
@ -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'";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue