From 886faeaead6d1da8a5f314ed00b1ca46484177cd Mon Sep 17 00:00:00 2001 From: yidongliang Date: Fri, 15 Aug 2025 14:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20nginx.conf.gateway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf.gateway | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nginx.conf.gateway b/nginx.conf.gateway index 51dad5b..2d9629a 100644 --- a/nginx.conf.gateway +++ b/nginx.conf.gateway @@ -215,5 +215,15 @@ http { proxy_ssl_verify off; proxy_set_header Authorization $http_authorization; # 传递 Authorization 头 } + + location ~* ^/LMGUpload/(.*)$ { + + proxy_pass https://lmg_api; + + proxy_ssl_server_name on; + proxy_ssl_session_reuse off; + proxy_ssl_verify off; + proxy_set_header Authorization $http_authorization; # 传递 Authorization 头 + } } }