From 967da82d9d79fcc88af02b30ee56e7f97ef1a361 Mon Sep 17 00:00:00 2001 From: assistant <18510979061@163.com> Date: Mon, 21 Jul 2025 22:57:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:nginx=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/nginx-yun.conf | 2 +- docker/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/nginx-yun.conf b/docker/nginx-yun.conf index ff0ba04..441dfd1 100644 --- a/docker/nginx-yun.conf +++ b/docker/nginx-yun.conf @@ -49,7 +49,7 @@ http { # 允许的方法 add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS' always; # 允许的头信息字段 - add_header 'Access-Control-Allow-Headers' 'User-Agent,Keep-Alive,Content-Type,Authorization,Origin' always; + add_header 'Access-Control-Allow-Headers' 'User-Agent,Keep-Alive,Content-Type,Authorization,Origin,source-client' always; # 缓存时间 add_header 'Access-Control-Max-Age' 1728000 always; # 预检请求的处理 diff --git a/docker/nginx.conf b/docker/nginx.conf index c3f750c..f35d3ed 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -49,7 +49,7 @@ http { # 允许的方法 add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS' always; # 允许的头信息字段 - add_header 'Access-Control-Allow-Headers' 'User-Agent,Keep-Alive,Content-Type,Authorization,Origin' always; + add_header 'Access-Control-Allow-Headers' 'User-Agent,Keep-Alive,Content-Type,Authorization,Origin,source-client' always; # 缓存时间 add_header 'Access-Control-Max-Age' 1728000 always; # 预检请求的处理