Host API server and web frontend on different IP's/ports

Luke Crooks7 years ago

I have setup traccar server, everything works fine (FreeBSD), I can see in the configuration I can enable/disable the web frontend and I can also change the port numbers, but is there a way to host the API and the front end on different addresses?

E.g. I would the the API to be hosted so I can configure it to be publicly accessible via a proxy, but I only want the web-frontend to be available locally, I don't want to expose the web tracking to the public. Can these be done with traccar?

Luke Crooks7 years ago

I fixed this by simply disallowing access to certain URLS with nginx re-write rules.