From: Grant Slater Date: Mon, 2 Jan 2017 20:54:54 +0000 (+0000) Subject: tilecache: correct cookie domain X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/c09775bf0196a3aebfd459cf290220c969753cb9?ds=inline tilecache: correct cookie domain --- diff --git a/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb b/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb index c0ae1f0b6..166545d61 100755 --- a/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb +++ b/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb @@ -34,7 +34,7 @@ default 4096; # Default Rate (No QoS cookie) EOF cat </etc/nginx/conf.d/tile_qos_cookies.map -default 'qos_token=${QOS_TOKEN_DEFAULT}; Secure; httponly; Max-Age=${VALID_TOKEN}; Domain=tile.openstreetmap.org; Path=/'; # Cookie Domain per RFC6265 +default 'qos_token=${QOS_TOKEN_DEFAULT}; Secure; httponly; Max-Age=${VALID_TOKEN}; Domain=openstreetmap.org; Path=/'; # Cookie Domain per RFC6265 "${QOS_TOKEN_DEFAULT}" ''; # Do not Set-Cookie. # Default "${QOS_TOKEN_OSM}" ''; # Do not Set-Cookie. # Exclusive EOF