]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb
Merge remote-tracking branch 'github/pull/234'
[chef.git] / cookbooks / tilecache / templates / default / nginx_generate_tilecache_qos_map.erb
index c09e56230cf410d22716d280719cbe006f0dad37..683fdf2727088482b637e53854260795e65ee73c 100755 (executable)
@@ -32,7 +32,7 @@ if [ -z "$QOS_TOKEN_OSM" -o -z "$QOS_TOKEN_DEFAULT" -o -z "$QOS_TOKEN_STALE" ];
 fi
 
 cat <<EOF >/etc/nginx/conf.d/tile_qos_rates.map
-default 24576; # Default Rate (No QoS cookie)
+default 8192; # Default Rate (No QoS cookie)
 "${QOS_TOKEN_STALE}" 24576; # Stale
 "${QOS_TOKEN_DEFAULT}" 24576; # Default
 "${QOS_TOKEN_OSM_STALE}" 32768; # Exclusive Stale
@@ -42,6 +42,7 @@ EOF
 cat <<EOF >/etc/nginx/conf.d/tile_qos_cookies.map
 default 'qos_token=${QOS_TOKEN_DEFAULT}; Max-Age=${VALID_TOKEN}; Domain=openstreetmap.org; Path=/'; # Cookie Domain per RFC6265
 "${QOS_TOKEN_DEFAULT}" ''; # Do not Set-Cookie. # Default
+"${QOS_TOKEN_OSM_STALE}" ''; # Do not Set-Cookie. # Exclusive Stale
 "${QOS_TOKEN_OSM}" ''; # Do not Set-Cookie. # Exclusive
 EOF