You can specify base URL using "web.url" config parameter.
I dont find web.url parameter in default.xml and traccar.xml
dont appears in https://www.traccar.org/configuration-file/
You know what base URL need specify for get a positions in google map?
Thanks.
If you want to use Google Maps, you would have to modify notification template in "templates" folder. If you just want to point to your own instance of Traccar you have to add "web.url" parameter to the config file.
I have my server on a VPS. When i get an email, i get http://172.31.1.100:8082/?eventId=178 as point.
My public address is different than this though. Template has weburl parameter.
Is there somewhere else a config parameter so i can enter my actual ip?
Have you actually read this thread before commenting?
Yes, and my question is when you say "add "web.url" parameter to the config file" you mean adding something like <entry key='web.url'>XX.XX.XX.XX</entry>
on traccar.xml for example?
Yes, but make sure you put a valid URL, not just IP address.
You mean <entry key='web.url'>http://vpsip:8082</entry>
?
Yes, something like that.
Yep, did it exaclty like this and is showing as it should.
As a suggestion, I would put a line like
"If you need to change the base URL in notifications, change web.url param"
In the very end of this page: https://www.traccar.org/notifications/
Because it's when you are trying to change templates for notifications that you see $webUrl and want to change it but doesn't know how to change it.
Would save people a lot of time. Just see how many questions like this are there.
Added to the first section:
Hi!
I have an issue with the emails reporting geo fence or speed limit, when i clik the link with the position the URL redirect its this type 127.0.1.1:8082/?eventId=1555 no open the position in google maps
I use Traccar 3.11 + Customize maps google