From e6c50c15c9745ec3f603797e02378def5aad8003 Mon Sep 17 00:00:00 2001 From: wanglei <34475144@qqcom> Date: Fri, 14 Nov 2025 18:51:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E9=80=81=E5=A4=B4Au?= =?UTF-8?q?th=E6=97=B6=E8=B7=A8=E7=AB=99=E9=97=AE=E9=A2=98=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 494de9f..b5eb4be 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -56,7 +56,7 @@ http { access_by_lua_block { ngx.header["Access-Control-Allow-Origin"] = "*"; ngx.header["Access-Control-Allow-Methods"] = "GET, POST, DELETE, PUT"; - ngx.header["Access-Control-Allow-Headers"] = "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range"; + ngx.header["Access-Control-Allow-Headers"] = "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization"; ngx.header["Access-Control-Max-Age"] = 1728000; ngx.header["Access-Control-Expose-Headers"] = "Content-Length,Content-Range"; if ngx.var.request_method == "OPTIONS" then