diff --git a/mytv/nginx.conf b/mytv/nginx.conf index 7e28cd8..8f36128 100644 --- a/mytv/nginx.conf +++ b/mytv/nginx.conf @@ -495,7 +495,7 @@ http { proxy_pass https://www.stream-link.org; # 替换为相对路径 - sub_filter 'https://sc2025.stream-link.org' 'http://$server_addr:30002'; + sub_filter 'https://sc2025.stream-link.org' 'http://$host:30002'; sub_filter_once off; #sub_filter_types application/vnd.apple.mpegurl text/plain; @@ -516,7 +516,7 @@ http { proxy_set_header Host sc2025.stream-link.org; proxy_set_header User-Agent "TiviMate/5.1.0"; proxy_set_header Referer "https://sc2025.stream-link.org/"; - proxy_redirect https://live-edge-06.stream-link.org/ http://$server_addr:30003/; + proxy_redirect https://live-edge-06.stream-link.org/ http://$host:30003/; } }