# ${qos_tokens[3]/[-1] } = OSM.org exclusive / current
# ${qos_tokens[2]/[-2] } = tile.openstreetmap.org default
# ${qos_tokens[3]/[-1] } = OSM.org exclusive / current
# ${qos_tokens[2]/[-2] } = tile.openstreetmap.org default
"${QOS_TOKEN_DEFAULT}" 24576; # Default
"${QOS_TOKEN_OSM_STALE}" 32768; # Exclusive Stale
"${QOS_TOKEN_OSM}" 32768; # Exclusive
EOF
cat <<EOF >/etc/nginx/conf.d/tile_qos_cookies.map
"${QOS_TOKEN_DEFAULT}" 24576; # Default
"${QOS_TOKEN_OSM_STALE}" 32768; # Exclusive Stale
"${QOS_TOKEN_OSM}" 32768; # Exclusive
EOF
cat <<EOF >/etc/nginx/conf.d/tile_qos_cookies.map
"${QOS_TOKEN_DEFAULT}" ''; # Do not Set-Cookie. # Default
"${QOS_TOKEN_OSM}" ''; # Do not Set-Cookie. # Exclusive
EOF
"${QOS_TOKEN_DEFAULT}" ''; # Do not Set-Cookie. # Default
"${QOS_TOKEN_OSM}" ''; # Do not Set-Cookie. # Exclusive
EOF