mirror of
https://github.com/rad168/iptv.git
synced 2025-12-17 07:18:40 +08:00
Update nginx.conf
This commit is contained in:
@@ -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/;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user