From d22aedf599480f8603b6fc68d66337d0b6fbcd34 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 18 Mar 2024 14:49:38 +0000 Subject: [PATCH] imagery: use https for tiler --- cookbooks/imagery/templates/default/nginx_titiler.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb index 9f6f92e60..cebf0efab 100644 --- a/cookbooks/imagery/templates/default/nginx_titiler.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_titiler.conf.erb @@ -68,7 +68,7 @@ server { location /ngi-aerial { set $args ""; - rewrite ^/ngi-aerial/(\d+)/(\d+)/(\d+)\.jpg /mosaicjson/tiles/WebMercatorQuad/$1/$2/$3@1x?url=http%3A%2F%2Ftiler.openstreetmap.org%2Fza-25cm%2Fmosaic-tiler.json&pixel_selection=first&tile_format=jpeg break; + rewrite ^/ngi-aerial/(\d+)/(\d+)/(\d+)\.jpg /mosaicjson/tiles/WebMercatorQuad/$1/$2/$3@1x?url=https%3A%2F%2Ftiler.openstreetmap.org%2Fza-25cm%2Fmosaic-tiler-https.json&pixel_selection=first&tile_format=jpeg break; proxy_pass http://tiler_backend; proxy_set_header Host $host; proxy_set_header Referer $http_referer; -- 2.39.5