mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-02-22 15:31:38 +01:00
Update nginx-config for fallback tile
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user