-
Notifications
You must be signed in to change notification settings - Fork 9
Description
启动日志:
proxy_1 | [2022-03-28 18:01:46.954][7][debug][upstream] [external/envoy/source/common/upstream/strict_dns_cluster.cc:167] DNS refresh rate reset for web_service, refresh rate 5000 ms
curl -v http://127.0.0.1:8002/static-to-header
[root@k8s-master ~]# curl -v http://127.0.0.1:8002/static-to-header
- About to connect() to 127.0.0.1 port 8002 (#0)
- Trying 127.0.0.1...
- Connected to 127.0.0.1 (127.0.0.1) port 8002 (#0)
GET /static-to-header HTTP/1.1
User-Agent: curl/7.29.0
Host: 127.0.0.1:8002
Accept: /
< HTTP/1.1 200 OK
< x-powered-by: Express
< content-type: application/json; charset=utf-8
< content-length: 542
< etag: W/"21e-f89/FNAikln2H1PTo6DTuvtnrDY"
< date: Mon, 28 Mar 2022 17:55:14 GMT
< x-envoy-upstream-service-time: 22
< server: envoy
<
{
"path": "/static-to-header",
"headers": {
"host": "127.0.0.1:8002",
"user-agent": "curl/7.29.0",
"accept": "/",
"x-forwarded-proto": "http",
"x-request-id": "4f0c50fb-55d4-465d-a5f3-654a295e59d4",
"x-envoy-expected-rq-timeout-ms": "15000",
"content-length": "0"
},
"method": "GET",
"body": "",
"fresh": false,
"hostname": "127.0.0.1",
"ip": "::ffff:172.19.0.2",
"ips": [],
"protocol": "http",
"query": {},
"subdomains": [],
"xhr": false,
"os": {
"hostname": "8b9dc5e3f1f0"
}
- Connection #0 to host 127.0.0.1 left intact