diff --git a/ckan/setup/ckan.ini b/ckan/setup/ckan.ini index 5d87dde8..a32b8e89 100644 --- a/ckan/setup/ckan.ini +++ b/ckan/setup/ckan.ini @@ -232,14 +232,14 @@ ckanext.spatial.search_backend = solr-bbox # Customize map widget ckanext.spatial.common_map.type = custom -# ckanext.spatial.common_map.custom_url = /maptiles/{z}/{x}/{y}.png -# ckanext.spatial.common_map.attribution = OpenStreetMap contributors +ckanext.spatial.common_map.custom_url = /maptiles/{z}/{x}/{y}.png +ckanext.spatial.common_map.attribution = OpenStreetMap contributors # ckanext.spatial.common_map.custom_url = https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x} # ckanext.spatial.common_map.attribution = Tiles courtesy of the U.S. Geological Survey -ckanext.spatial.common_map.custom_url = https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}{r}.png -ckanext.spatial.common_map.attribution = Stadia Maps. OpenStreetMap contributors +# ckanext.spatial.common_map.custom_url = https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}{r}.png +# ckanext.spatial.common_map.attribution = Stadia Maps. OpenStreetMap contributors ## Harvest settings # ckanext-harvest will use ckan.redis.url if redis configuration diff --git a/proxy/nginx-common.conf b/proxy/nginx-common.conf index 95ba046c..c6d68d78 100644 --- a/proxy/nginx-common.conf +++ b/proxy/nginx-common.conf @@ -89,8 +89,8 @@ location ~ ^/(dataset\/new|api\/action\/package_create|api\/action\/resource_cre # use local path for map tiles so that they # can be cached by the CDN location /maptiles { - # only allow requests generated from data.gov - valid_referers server_names *.data.gov; + # only allow requests generated from our apps + valid_referers server_names *.data.gov *.app.cloud.gov; if ($invalid_referer) { return 403; }