Proxy is only for debugging.
alright , what should I change in the setupProxy to target the addresse and port of the backend
That's something you should set up on your server separately, not in the code. You can use Apache or any other proxy option for that.
I use Nginx but still in the login page, it doesnt target the adresse:8082/api/session instead it only send request adress/api/session
Problem fixed : for users with the same problem check: https://www.traccar.org/forums/topic/nginx-proxy-working/
Hello anton , I have installed traccar in Virtual machine , I changed .env variables from host to VM adress ip, when I build, I cant login from other machines , I checked the post request and it is : POST " adresse of VM/api/session " wich should have worked if it is "adress:8082/api/session"
any help please