1
0
Fork 0
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:
ericgaspar 2020-12-13 21:44:12 +01:00 committed by Nicolas Frandeboeuf
parent bd7259e916
commit d659696c67

View file

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