From 8da3f53ee2d25f13326e9c38af8eac156f076657 Mon Sep 17 00:00:00 2001 From: antoine Date: Wed, 18 Dec 2019 15:55:49 +0100 Subject: [PATCH] fix add_header warning with package_check --- conf/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1584f75..24e2e0f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -49,19 +49,19 @@ location __PATH__/ { # Cache-control location ~ ^__PATH__/data/ { - add_header Cache-Control public; + more_set_headers Cache-Control public; expires 12h; } location ~ ^__PATH__/core/ { - add_header Cache-Control public; + more_set_headers Cache-Control public; expires 12h; } location ~ ^__PATH__/plugins/ { - add_header Cache-Control public; + more_set_headers Cache-Control public; expires 12h; } location ~ ^__PATH__/themes/ { - add_header Cache-Control public; + more_set_headers Cache-Control public; expires 12h; }