更新 nginx.conf.gateway
This commit is contained in:
parent
9a7e257f2c
commit
886faeaead
|
@ -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 头
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue