diff --git a/TSG发布版本更新记录/TSG-21.09/Nginx/nginx.conf b/TSG发布版本更新记录/TSG-21.09/Nginx/nginx.conf index 1ea6db0..4a6207b 100644 --- a/TSG发布版本更新记录/TSG-21.09/Nginx/nginx.conf +++ b/TSG发布版本更新记录/TSG-21.09/Nginx/nginx.conf @@ -68,12 +68,17 @@ http { server { listen 9098; server_name localhost; - if ($request_method = GET) { - return 302 https://$host:9097$request_uri; - } proxy_set_header Host $http_host; - location / { - proxy_pass http://hos; + + location /admin { + proxy_pass http://hos/admin; + } + + location /hos { + if ($request_method = GET) { + return 302 https://$host:9097$request_uri; + } + proxy_pass http://hos/hos; } }