更新 nginx.conf.gateway

This commit is contained in:
yidongliang 2025-08-15 14:01:14 +08:00
parent 9a7e257f2c
commit 886faeaead
1 changed files with 10 additions and 0 deletions

View File

@ -215,5 +215,15 @@ http {
proxy_ssl_verify off; proxy_ssl_verify off;
proxy_set_header Authorization $http_authorization; # 传递 Authorization 头 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 头
}
} }
} }