From ed809521bf67bbbeb4c477b2da2c978ae0027645 Mon Sep 17 00:00:00 2001 From: rad168 <86744795+rad168@users.noreply.github.com> Date: Tue, 27 May 2025 01:06:56 +0800 Subject: [PATCH] Update nginx.conf --- mytv/alpine/nginx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mytv/alpine/nginx.conf b/mytv/alpine/nginx.conf index 8332022..1aa5996 100644 --- a/mytv/alpine/nginx.conf +++ b/mytv/alpine/nginx.conf @@ -160,7 +160,7 @@ http { # 代理头设置 proxy_set_header X-Real-IP $remote_addr; # 传递客户端真实 IP proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # 支持多级代理 - proxy_set_header Host live.cdn.com.mp; # 确保请求的 Host 匹配 Cloudflare 配置 + proxy_set_header Host live.101.qzz.io; # 确保请求的 Host 匹配 Cloudflare 配置 # SSL 配置 proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # 指定 SSL 协议 @@ -187,7 +187,7 @@ http { return 302 $redirect_uri; } - proxy_pass https://live.cdn.com.mp; + proxy_pass https://live.101.qzz.io; } @@ -202,7 +202,7 @@ http { return 302 $redirect_uri; } - proxy_pass https://live.cdn.com.mp; # 替换为您的源站地址 + proxy_pass https://live.101.qzz.io; # 替换为您的源站地址 proxy_cache_valid 200 206 60s; # 缓存 .ts 文件 60 秒 expires 60s; # 设置浏览器端缓存 60 秒 @@ -866,8 +866,8 @@ http { return 302 $redirect_uri; } - proxy_pass https://mytv.cdn.com.mp; - proxy_set_header Host mytv.cdn.com.mp; # 确保请求的 Host 匹配 Cloudflare 配置 + proxy_pass https://mytv.101.qzz.io; + proxy_set_header Host mytv.101.qzz.io; # 确保请求的 Host 匹配 Cloudflare 配置 }