From ee61a7df856165c3dfb2d94e39d9b6d7096ebb1c Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Sun, 28 Jan 2024 21:14:30 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index faa2567..fdc7cad 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -29,7 +29,7 @@ location ~ (__PATH__/proxy/videoplayback|__PATH__/proxy/api/v4/|__PATH__/proxy/a proxy_max_temp_file_size 32m; access_log off; proxy_pass http://127.0.0.1:__PORT_PROXY__; - add_header Cache-Control private always; + more_set_headers "Cache-Control: private always"; } location __PATH__/proxy/ { @@ -51,7 +51,7 @@ location __PATH__/proxy/ { proxy_max_temp_file_size 32m; access_log off; proxy_pass http://127.0.0.1:__PORT_PROXY__/; - add_header Cache-Control "public, max-age=604800"; + more_set_headers "Cache-Control: 'public, max-age=604800'"; }