From 2e7e0166312d93404331bfb68eaf6308b4d91543 Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Fri, 1 May 2020 17:40:51 +0200 Subject: [PATCH] Use more_set_headers instead of add_header in nginx conf Best practice enforced by linter --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 8faded4..8252c0b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,7 +13,7 @@ location __PATH__ { location __PATH__/assets/ { expires max; - add_header Cache-Control public; + more_set_headers 'Cache-Control: public'; } # Include SSOWAT user panel.