-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Usage of --base-path CLI option #1415
Comments
|
P.S. I think you have a typo in |
Sorry, here is the corrected version : "When I request https://MY_DNS/tileserver/my_super_source/{z}/{x}/{y}, I get a 404 response, but when I request https://MY_DNS/my_super_source/{z}/{x}/{y}, the server responds with a 20X." But with your example I can understand the behavior |
As noted, the option could likely be more explicite in what it does Resolves #1415
I use Martin 0.14.2 with the CLI. I want to expose my API on 0.0.0.0:3000 with the prefix path /tileserver because I have a gateway and I want to expose several resources on my gateway, including the Martin tileserver connected to my database.
I launched the server using the command
martin --base-path /tileserver
, but it doesn't work as I understand it:When I request https://MY_DNS/tileserver/my_super_source/{z}/{x}/{y}, I get a 404 response, but when I request https://MY_DNS/tileserver/my_super_source/{z}/{x}/{y}, the server responds with a 20X.
To achieve what I want, should I use the --base-path option or use an Nginx server?
The text was updated successfully, but these errors were encountered: