Update nginx-config for fallback tile

Lukas Rieger 2021-03-28 14:02:21 +02:00
parent 61f995ffda
commit 02deb678e9

@ -28,8 +28,9 @@ server {
try_files $uri $uri/ =404 ; try_files $uri $uri/ =404 ;
} }
# We only want the map-tiles, so only files in the data/ folder should use this setting # map-tiles are stored compressed, and they have a fallback file that should be returned if the tile does not exist
location /data/ { location /data/ {
try_files $uri /bluemap-test/assets/emptyTile.json;
gzip_static always; gzip_static always;
} }