Browse Source

cicd: 修改ng配置

sy-water-data-board-ui
hxh 12 months ago
parent
commit
89404aad8e
  1. 6
      deploy/nginx.conf.tmpl

6
deploy/nginx.conf.tmpl

@ -47,6 +47,10 @@ http {
charset utf-8; charset utf-8;
client_max_body_size ${NGINX_MAX_BODY_SIZE}; client_max_body_size ${NGINX_MAX_BODY_SIZE};
location /mobileH5 {
return 301 http://shuili-h5.product.dev.com:30115?$args;
}
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; index index.html index.htm;
@ -67,7 +71,7 @@ http {
location /thinking { location /thinking {
rewrite ^/thinking/(.*)$ /tianhui-admin-web/$1 break; rewrite ^/thinking/(.*)$ /tianhui-admin-web/$1 break;
proxy_pass ${API_SERVER}; proxy_pass ${API_SERVER};
} }

Loading…
Cancel
Save