Update nginx.conf

This commit is contained in:
rad168
2025-03-16 18:56:01 +08:00
committed by GitHub
parent 64fde57487
commit 0a45c04e24

View File

@@ -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/;
}
}