diff --git a/pkg/resource/nginx/web.conf b/pkg/resource/nginx/web.conf index 7d98f8f..c8ed11c 100644 --- a/pkg/resource/nginx/web.conf +++ b/pkg/resource/nginx/web.conf @@ -78,6 +78,10 @@ server { server_tokens off; + location / { + proxy_pass http://front-admin-service; + } + location /api/system/version { proxy_pass http://app-helper-service/api/v2_2/system/version; } @@ -96,10 +100,6 @@ server { # add_header Cache-Control public; # } - location / { - proxy_pass http://front-admin-service; - } - location /api/v2_1/user { proxy_pass http://user-service:9013; proxy_set_header Host $host; @@ -120,6 +120,10 @@ server { proxy_pass http://client-linux-service; } + location /api/v2_2/yosguard { + proxy_pass http://10.118.2.10:7788; + } + include /etc/nginx/common/common.conf; location /ws {