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