From 54d913e69c75b3b5cfb7f56d6318e869969067af Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Sun, 12 Apr 2020 13:39:55 +0300 Subject: [PATCH] Make staging assets expire fast. --- ext/nginx.conf.d/staging.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/nginx.conf.d/staging.conf.template b/ext/nginx.conf.d/staging.conf.template index 06c2c05..b5b3103 100644 --- a/ext/nginx.conf.d/staging.conf.template +++ b/ext/nginx.conf.d/staging.conf.template @@ -75,7 +75,7 @@ server { # FIXME: use env. var location ^~ /assets/ { gzip_static on; - expires max; + expires 1m; add_header Cache-Control public; }