1
KasuganoSoras 2020-04-11 17:13:20 +08:00 1
把 Nginx 的报错发上来看看才知道是什么原因造成的 502 啊……
|
2
imaning OP @KasuganoSoras 看了下 nginx 的错误日志,全部都是这个(我隐去了 IP 地址):
2020/04/12 08:34:32 [error] 26838#0: *1721 connect() failed (111: Connection refused) while connecting to upstream, client: 171.209.*.*, server: test.com, request: "GET /Content/ HTTP/1.1", upstream: "http://180.149.*.*:80/hls/(158665164)/segment.ts", host: "61.139.*.*" 2020/04/12 08:34:32 [error] 26838#0: *1721 connect() failed (111: Connection refused) while connecting to upstream, client: 171.209.*.*, server: test.com, request: "GET /hls/Segment(158665165)/segment.ts HTTP/1.1", upstream: "http://180.149.*.*:80/hls/(158665165)/segment.ts", host: "61.139.*.*" 180.149.*.* 这个是 IIS 源站 IP 61.139.*.* 这个是 nginx 代理服务器 IP |
3
imaning OP 我自己用域名挂阿里云 CDN 去访问源站,一个 502 都没有,不知道为啥。
|