-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
# to use handle_path for prefixes, pmtiles_proxy must have a defined | ||
# position in the ordering of handlers. | ||
order pmtiles_proxy before reverse_proxy | ||
} | ||
|
||
localhost:2019 { | ||
handle_path /tiles/* { | ||
pmtiles_proxy { | ||
|
||
# replace with your bucket URL or http path | ||
bucket https://example.com | ||
|
||
cache_size 256 | ||
|
||
# used to embed a tiles URL in TileJSON. | ||
public_hostname https://localhost:2019/tiles | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters