Is there any way that we can self-host openmaptiles server running HTTPs (to serve vector tiles)

956 views Asked by At

I was following https://openmaptiles.com/server/ guide to self-host a vector tiles server by using Docker (Kitematic), it was working well but i couldn't find the way to configure to run the server on HTTPs (since my application is running on HTTPs and it's not allowed to request to get tiles from HTTP server)

Please help to advise on this matter? Thanks in advance!

1

There are 1 answers

1
MapTiler On

Configure a front-end server such as the nginx or apache for doing proxy from https to http - and be sure to set X-Forwarded-Host and X-Forwarded-Proto.

Or setup CloudFlare.com account for your domain and get HTTPS and global CDN acting as a proxy.