Browse Source

chore: 代理绕过https不能使用http url

master
wangxiang 2 years ago
parent
commit
cc3a735c46
  1. 5
      docker/kicc-ui.conf

5
docker/kicc-ui.conf

@ -46,10 +46,9 @@ server { @@ -46,10 +46,9 @@ server {
proxy_pass http://kicc-gateway:9999;
}
# 代理访问后端微服务表报地址
# 代理访问后端微服务表报地址,绕过https不能内嵌http
location ^~/ureport/ {
rewrite ^/(.*)$ /$1 break;
proxy_pass http://kicc-gateway:9999/report_proxy;
proxy_pass http://kicc-gateway:9999/report_proxy/ureport/;
}
}

Loading…
Cancel
Save