From 5c80e0f924c59c64f0865b38fdef32057e5f068a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 24 May 2024 19:22:47 +0200 Subject: [PATCH] Update old.nginx.conf --- conf/old.nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/old.nginx.conf b/conf/old.nginx.conf index 620f6bf..da97825 100644 --- a/conf/old.nginx.conf +++ b/conf/old.nginx.conf @@ -92,7 +92,7 @@ location ~ ^/api/.*$ { location ~ ^/(blob|block)/.*$ { if ($request_method = 'OPTIONS') { more_set_headers "Access-Control-Allow-Origin: ${allowed_origins}"; - more_set_headers add_header "Access-Control-Allow-Credentials: true"; + more_set_headers "Access-Control-Allow-Credentials: true"; more_set_headers "Access-Control-Allow-Methods: 'GET, POST, OPTIONS'"; more_set_headers "Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range"; more_set_headers "Access-Control-Max-Age: 1728000";