From c09775bf0196a3aebfd459cf290220c969753cb9 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 2 Jan 2017 20:54:54 +0000 Subject: [PATCH 1/1] tilecache: correct cookie domain --- .../templates/default/nginx_generate_tilecache_qos_map.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.1