range
来源:互联网 发布:景甜到底什么来头知乎 编辑:程序博客网 时间:2024/06/05 22:50
proxy_cache_path /tmp/pxy keys_zone=one:10m;
server {
listen 8001;
location / {
root /data/;
}
location ~ .*ts {
proxy_cache one;
proxy_cache_valid any 30y;
proxy_cache_key "$uri:$arg_start-$arg_end";
proxy_set_header Range bytes=$arg_start-$arg_end;
proxy_cache_min_uses 5;
proxy_cache_use_stale updating;
add_header X-Cached $upstream_cache_status;
root /data/;
error_log logs/error.log debug;
access_log logs/zz.log zzlog;
proxy_pass http://localhost:8000;
}
}
server {
listen 8000;
location / {
root /data/;
}
}
server {
listen 8001;
location / {
root /data/;
}
location ~ .*ts {
proxy_cache one;
proxy_cache_valid any 30y;
proxy_cache_key "$uri:$arg_start-$arg_end";
proxy_set_header Range bytes=$arg_start-$arg_end;
proxy_cache_min_uses 5;
proxy_cache_use_stale updating;
add_header X-Cached $upstream_cache_status;
root /data/;
error_log logs/error.log debug;
access_log logs/zz.log zzlog;
proxy_pass http://localhost:8000;
}
}
server {
listen 8000;
location / {
root /data/;
}
}
0 0
- Range
- Range
- range
- range()
- Range
- range
- Range
- Range
- Range
- range
- range
- range和content-range
- time-range
- python--range()
- HTTP Range
- Range Name
- USACO--range
- Dynamic Range
- 交通灯管理系统
- Crocus Technology 公司介绍
- js判断上传文件大小
- JqGird 事件 方法(二)
- poj 1276 Cash Machine(多重背包)
- range
- SVN服务器搭建和使用(三)
- android设置字体为LED数字样式
- 修改linux文件权限命令:chmod
- 设计模式16——Memento设计模式
- memcache初步探索
- POJ 聪明的打字员
- 职场生存 3个自我息怒小技巧
- Android动态生成组件