This commit is contained in:
yidl 2025-07-02 01:26:27 +08:00
parent d895f96bff
commit afdd5744a7
1 changed files with 0 additions and 11 deletions

View File

@ -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 / {