路由规则调整

This commit is contained in:
yidl 2025-06-28 17:52:44 +08:00
parent 14c4505670
commit 460374f404
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}