summaryrefslogtreecommitdiff
path: root/nginx.inc.conf
blob: 9d8804e5c6af2ba8b1e5657c12f07b688cd5b595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
index index.html;

location /json/ {
  expires 1y;
}

location /dump/ {
  expires 1y;
  location ~ ^/dump/(bgm|sfx)/ { add_header X-Content-Duration "0"; }
}

location ~ ^/(css/font|js/lib)/ {
  expires 1d;
}

location /language.php {
  return 301 "/language.php?$args&language=$http_accept_language";
}

expires 5s;
add_header Cache-Control public;
add_header X-UA-Compatible "IE=edge,chrome=1";

# vim:ft=nginx: