From d659696c673481a9c7e2e4796c167d97bfda812b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 13 Dec 2020 21:44:12 +0100 Subject: [PATCH] Fix nginx cache-control configuration --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f027304..616d831 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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;