请教大家,可能是哪里配置的问题吗?以及如何排查问题
nginx配置:修改部分如下: server { listen 80; server_name 10.60.82.72;
keepalive_timeout 70;
location ~ "^/d/stfpro1/([^/]+)/(?<port>[0-9]{5})/$" {
proxy_pass http://10.60.103.71:$port/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
}
location ~ "^/d/stfpro2/([^/]+)/(?<port>[0-9]{5})/$" {
proxy_pass http://10.60.114.29:$port/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
}
location ~ "^/d/demo1/([^/]+)/(?<port>[0-9]{5})/$"{
proxy_pass http://10.60.145.18:$port/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
}
stf服务端,.env: STF_VERSION=3.4.0 STF_HOST=10.60.82.72 STF_URL=http://10.60.82.72 STF_IMAGE=openstf/stf:v3.4.0 STF_SECRET=RETHINKDBAUTHKEYANY
provider设置 iSTF_VERSION=3.4.0 STF_HOST=10.60.82.72 STF_URL=http://10.60.82.72 STF_IMAGE=openstf/stf:v3.4.0 STF_PROVIDER=stfpro1
stf master页面:
provider设备:
而且master与provider之间的连接正常:
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。