Custom URL path

mimocz12320 days 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 Tananaev20 days ago

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

mimocz12320 days ago

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