My Traccar system is running perfectly so this post is more about the traccar interaction with a NGINX webserver.... in fact the question may be more relevant in a NGINX forum.
I am running various programs on 3 x Raspberry Pi computers - one is a torrent server, one runs Traccar and the third runs an ADSB plane radio receiver. I need to access from my work computer however this has strict firewall constraints - I can access all my servers via the various ports (8084 / 8080 / 80 ) when I'm not at work.
Unfortunately my work system only allows port 80 access.
To get around this I've installed Nginx with name based reverse proxy which basically redirects my requests to the appropriate server, but it only partially works on the Traccar server. I can get the login screen and I can log in sucessfully, I get the list of my gps units and I get the map. Only problem is I can't see my gps icons, and clicking on the gps list does nothing.
Anyone got any ideas on why this is happening? Like I say, definitely not a Traccar issue....
Pete
You have to proxy WebSocket connection. Here is how you can do it on Apache:
https://www.traccar.org/secure-connection/
I remember it has been discussed before for nginx as well. You can try to search on forum and GitHub.
That's great Anton, I'd just found a couple of posts about websockets and wondered if that was the issue. Now that I know what I'm fixing I'll give it a play.
Thanks for the prompt reply.
Pete
My Traccar system is running perfectly so this post is more about the traccar interaction with a NGINX webserver.... in fact the question may be more relevant in a NGINX forum.
I am running various programs on 3 x Raspberry Pi computers - one is a torrent server, one runs Traccar and the third runs an ADSB plane radio receiver. I need to access from my work computer however this has strict firewall constraints - I can access all my servers via the various ports (8084 / 8080 / 80 ) when I'm not at work.
Unfortunately my work system only allows port 80 access.
To get around this I've installed Nginx with name based reverse proxy which basically redirects my requests to the appropriate server, but it only partially works on the Traccar server. I can get the login screen and I can log in sucessfully, I get the list of my gps units and I get the map. Only problem is I can't see my gps icons, and clicking on the gps list does nothing.
Anyone got any ideas on why this is happening? Like I say, definitely not a Traccar issue....
Pete