mirror of
https://github.com/rad168/iptv.git
synced 2025-12-20 00:34:36 +08:00
Update nginx.conf
This commit is contained in:
@@ -89,7 +89,7 @@ http {
|
||||
|
||||
# 针对 .ts 和 .aac 文件的特殊缓存设置
|
||||
location ~* \.(ts|aac)$ {
|
||||
proxy_pass https://cdn.1689.us.kg; # 替换为您的源站地址
|
||||
proxy_pass https://cdn.132.us.kg; # 替换为您的源站地址
|
||||
proxy_cache_valid 200 206 60s; # 缓存 .ts 文件 60 秒
|
||||
expires 60s; # 设置浏览器端缓存 60 秒
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user