Closed bertrandmd closed 8 years ago
Changing the folder structure is not directly possible.
Additional software (such as nginx) is usually used in production in front of the tileserver-gl itself and is capable of handling this (see #51).
Duplicate of #51
To get started with the config file you can run tileserver gl with "--verbose" argument and it will print out the config automatically generated. This is a good starting point to copy it out, save it into a file and start to adjust it according to your needs.
@petrsloup yes nginx works ! thks @klokan thks for the tips !
in my osm2vectortiles.json, i need to change the value of "tile" ex: "tiles": [ "127.0.0.1:8080/data/osm2vectortiles/{z}/{x}/{y}.pbf" ]
I need to have : "tiles": [ "127.0.0.1:8080/myfolder/data/osm2vectortiles/{z}/{x}/{y}.pbf" ] with tileserver doc I can understand I need to create a config.json. Could you be more precise about the minimum parameter to put in this file?
Thanks