-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathblizzard.conf
More file actions
27 lines (22 loc) · 905 Bytes
/
blizzard.conf
File metadata and controls
27 lines (22 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
server {
listen 80;
server_name dist.blizzard.com.edgesuite.net llnw.blizzard.com dist.blizzard.com blizzard.vo.llnwd.net ~^blzddist.*\.akamaihd\.net$ level3.blizzard.com edgecast.blizzard.com nydus.battle.net edge.blizzard.top.comcast.net cdn.blizzard.com;
sendfile on;
resolver 8.8.8.8 8.8.4.4 ipv6=off;
access_log /var/log/nginx/blizzard-access.log access;
error_log /var/log/nginx/blizzard-error.log error;
location / {
slice 1m;
proxy_cache cache;
proxy_cache_key "blizzard $uri$slice_range"; # $is_args$args
proxy_set_header Range $slice_range;
proxy_cache_valid 200 206 3000h;
proxy_set_header Host $host;
proxy_pass http://$host;
proxy_hide_header ETag;
proxy_cache_lock on;
proxy_ignore_headers Expires Cache-Control;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
}