From 02c7d136f60e04a9d1b4415c9135759505db08a9 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 26 Oct 2020 17:17:17 +0100 Subject: [PATCH] add_header -> more_set_headers --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 56b0305..e21dafd 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -21,13 +21,13 @@ location / { root __FINALPATH__/mobilizon/priv/static; etag off; access_log off; - add_header Cache-Control "public, max-age=31536000, immutable"; + more_set_headers "Cache-Control: public, max-age=31536000, immutable"; } location ~ ^/(media|proxy) { etag off; access_log off; - add_header Cache-Control "public, max-age=31536000, immutable"; + more_set_headers "Cache-Control: public, max-age=31536000, immutable"; proxy_pass http://localhost:__PORT__; }