tilecache: do not replace stale osm token
authorGrant Slater <git@firefishy.com>
Mon, 2 Jan 2017 23:14:04 +0000 (23:14 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 2 Jan 2017 23:14:04 +0000 (23:14 +0000)
cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb

index c09e56230cf410d22716d280719cbe006f0dad37..9c6816071e6fd3e9180998c9e7f79be458c1832d 100755 (executable)
@@ -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