-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maptiler-server & nginx proxy to a URL with sub-folder #1103
Comments
Maptiler-server is a different product by maptiler. This is tileserver-gl, a open source tileserver. For tileserver-gl you should be following the documentation at https://maptiler-tileserver.readthedocs.io/ . For one, the default port tileserver-gl runs on is 8080, not 3650 |
Hi @acalcutt |
Sorry for the wrong place... I couldn't find the maptiler-server repo under maptiler github, so I thought there might be someone who could help here. Again sorry for the intruding. |
What I do to inject a path prefix into tileserver-gl is append it to the Host header. It is not validated in any way. The header is manipulated by an nginx proxy on the way to the tileserver-gl. There has been a |
OS: Debian 12 with nginx 1.22.1
Maptiler: maptiler-server 4.4.0 directly installed with .deb package
After installation I can proxy http://127.0.0.1:3650 to http:// or https://xxx.mydomain.com but kept failing to proxy it to https://xxx.mydomain.com/map
There are some parameters I found here
baseurl
andpublic_url
, neither of them worked no matter I used them in the maptiler-server execution command or in the config.json. Could anyone suggest? Thanks.The text was updated successfully, but these errors were encountered: