Skip to content

Commit 2d9ac11

Browse files
authored
Add storage section on Bunny.net (#116)
1 parent 5cce1cb commit 2d9ac11

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pmtiles/cloud-storage.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,18 @@ gcloud storage buckets update gs://my-bucket-name --cors-file=cors.json
156156

157157
* use S3Cmd config to expose `etag` header
158158

159+
### Bunny.net
160+
161+
Bunny.net is a EU-headquartered content delivery network. PMTiles can be uploaded to a Bunny [Storage Zone](https://bunny.net/storage/) and accessed through an edge-cached [Pull Zone](https://support.bunny.net/hc/en-us/articles/207790269-How-to-create-your-first-Pull-Zone).
162+
163+
Bunny does not offer an S3-compatible storage API. To upload a PMTiles archive to a Bunny storage zone:
164+
165+
```sh
166+
curl --request PUT --url https://SUBDOMAIN.storage.bunnycdn.com/BUCKET/example.pmtiles --header "AccessKey: ACCESS_KEY" --header "Content-Type: application/octet-stream" --header 'accept: application/json' -T EXAMPLE.pmtiles --progress-bar -o upload.txt
167+
```
168+
169+
CORS can be enabled in the **Headers** section. Allowed referrers can be configured in the **Security > General** section.
170+
159171
### Backblaze B2
160172

161173
* Backblaze B2 only supports HTTP/1.1.

0 commit comments

Comments
 (0)