sve
This commit is contained in:
parent
d895f96bff
commit
afdd5744a7
|
@ -59,17 +59,6 @@ http {
|
|||
ssl_session_timeout 10m;
|
||||
ssl_verify_client off; # ↓ 允许自签名证书
|
||||
ssl_verify_depth 0;
|
||||
# 单独处理发现文档,确保issuer正确
|
||||
location = /.well-known/openid-configuration {
|
||||
proxy_pass https://sys_api/.well-known/openid-configuration;
|
||||
|
||||
# 动态修改返回的JSON中的URL
|
||||
proxy_set_header Accept-Encoding "";
|
||||
sub_filter_types application/json;
|
||||
sub_filter_once off;
|
||||
sub_filter 'https://sys-api:19902' 'https://$host:8001';
|
||||
sub_filter 'https://sys_api' 'https://$host:8001';
|
||||
}
|
||||
|
||||
# 所有IdentityServer路由(无需/auth前缀)
|
||||
location / {
|
||||
|
|
Loading…
Reference in New Issue