Email notification : Password changement link with no DOMAIN (local host)

Zero482 years ago

Hello,
I'm Running Traccar ver 5.0 . The notification using email works as expected , However the link to reset the email is sent with local host , instead of the Domain. (I'm using Nginx & SSL) .
As:
To reset password please click on the following link:

http://127.0.1.1:8082?passwordReset=2ab6f116786c41cdb010d9fac

Any Hint of what could be happening ?

Thanks in advance

Anton Tananaev2 years ago

Have you configured your public URL in the config file?

Zero482 years ago

Nginx configuration file ?
Please would you tell me which file ?
Thanks for your prompt reply

Anton Tananaev2 years ago

Traccar config file.

Zero482 years ago

Well , I'm Lost as usual .
I dont see that parameter in traccar.xml (public URL configuration).
My SSL works fine and this was working correctly in 4.X.
unless has to do with this : //localhost/traccar?serverTimezone=UTC&useSSL=false ETC...

Anton Tananaev2 years ago

I think it's called web.url.

Zero482 years ago

I saw this paramater on https://www.traccar.org/configuration-file/
I found out on this forum ( with your hint) that the way to put it is like this :

<entry key='web.url'>yourURLhere</entry>

I add it to the xml file and still same outcome. What I'm doing wrong ? is there is something missing ?

Thanks for your time and support .

Anton Tananaev2 years ago

You restarted the server after changing it? It should work assuming you didn't mess with the templates.

Zero482 years ago

That was it , I restarted traccar instead of a reboot ...
It works .

Thanks very much