mirror of
https://github.com/YunoHost-Apps/kresus_ynh.git
synced 2024-09-03 19:36:10 +02:00
Fix nginx cache-control configuration
This commit is contained in:
parent
bd7259e916
commit
d659696c67
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
location ~ __PATH__/\.(css|js|png|jpe?g|svg|eot|woff2?)$ {
|
||||
more_set_headers Cache-Control 'max-age=2592000, must-revalidate, public';
|
||||
more_set_headers 'Cache-Control: max-age=2592000, must-revalidate, public';
|
||||
gzip_types text/plain text/css application/javascript text/javascript;
|
||||
gzip on;
|
||||
try_files $uri $uri/index.html @kresus;
|
||||
|
|
Loading…
Add table
Reference in a new issue