From 89404aad8ec174d807483584d328f68ab644acc9 Mon Sep 17 00:00:00 2001 From: hxh <762326930@qq.com> Date: Wed, 8 May 2024 15:14:03 +0800 Subject: [PATCH] =?UTF-8?q?cicd:=20=E4=BF=AE=E6=94=B9ng=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/nginx.conf.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy/nginx.conf.tmpl b/deploy/nginx.conf.tmpl index fc498be..0008a45 100644 --- a/deploy/nginx.conf.tmpl +++ b/deploy/nginx.conf.tmpl @@ -47,6 +47,10 @@ http { charset utf-8; client_max_body_size ${NGINX_MAX_BODY_SIZE}; + location /mobileH5 { + return 301 http://shuili-h5.product.dev.com:30115?$args; + } + location / { root /usr/share/nginx/html; index index.html index.htm; @@ -67,7 +71,7 @@ http { location /thinking { - rewrite ^/thinking/(.*)$ /tianhui-admin-web/$1 break; + rewrite ^/thinking/(.*)$ /tianhui-admin-web/$1 break; proxy_pass ${API_SERVER}; }