Yet another traccar nginx post

Magmanat5 days ago

Sorry but I am quite new to traccar.

I have checked like 6 other posts with nginx reverse proxy setup. But almost all of them run traccar together with the nginx instance.

My current setup is different, with traccar on one machine and nginx on another machine.

How would i setup the config file for traccar in my nginx this way?

currently i have just set it up in the GUI of nginx with port of 8082 and IP being the public IP of my traccar server

Track-trace5 days ago

Why would you build a slower setup?

Adriano Miranda5 days ago

Hi @magmanat, welcome to the forum.

To better assist you, could you provide a bit more information about what you’re trying to achieve with this configuration? For example, are you looking to access Traccar via a public domain, set up SSL, or something else?

Also, it would be helpful if you could share your current Nginx configuration file, especially the part related to the reverse proxy. This will help us identify if anything needs to be adjusted.

odhiambo8 hours ago

@Magmanat, if the traccar machine and the Nginx machine are on the same LAN or network, then just tell Nginx to proxy the requests to the traccar_machine:port. Nothing fancy about it.
All that you need to verify is that:
From Nginx server: 'telnet traccar_server traccar_PORT' is accessible.