diff --git a/nginx.conf.gateway b/nginx.conf.gateway index 69b15f2..98edce6 100644 --- a/nginx.conf.gateway +++ b/nginx.conf.gateway @@ -1,5 +1,5 @@ -error_log /var/log/nginx/error.log error; +error_log /var/log/nginx/error.log debug; pid /var/run/nginx.pid; events { @@ -59,7 +59,7 @@ http { # --- 统一网关服务 --- server { - listen 8000 ssl http2; # 使用 http2 提升性能 + listen 8000 ssl; # 使用 http2 提升性能 server_name 106.52.199.114; # 替换为您的域名或IP # --- SSL 配置 --- @@ -97,7 +97,7 @@ http { # 1. 认证中心 (IdentityServer4) 路由 # 匹配所有认证相关的路径 - location ~ ^/(connect|Account|\\.well-known)/ { + location ~ ^/(connect|Account)/ { proxy_pass https://auth_server; }