Custom URL path

mimocz123 8 months ago

Hi,
is it possible to have a custom URL path (for example /gps/) for Traccar server through reverse proxy?
I tried to setup one through nginx, I found some posts from 4 years ago here, but that doesn't seem to work anymore. The website still points first to /website.manifest instead to /gps/website.manifest. I even tried rewriting all the paths in the web directory, but that didn't help as there are still some websockets which are not rerouted properly.
If someone has a nginx (or any other reverse proxy) configuration that works, please share it.
Thank you very much!

Anton Tananaev 8 months ago

It is possible it theory, but you would need to recompile the web app. I would strongly recommend using a subdomain instead.

mimocz123 8 months ago

Okay, I guess that's more secure than rawdogging the public IP.
Thank you very much!