Url in email configurable

Leif Neland6 years ago

I have proxied access to the traccar web to be https://tracker.my,domain

I have also set

<entry key='web.address'>127.0.0.1</entry>

to prevent access without https.

But the email notifications from traccar comes with links to http://123.456.789.0:8082, the unproxied address

Is there a config entry to change the link to the proxied address?

Leif Neland6 years ago

Actually, after setting web.address to <entry key='web.address'>127.0.0.1</entry> the email come with link to 127.0.0.1

I think if I set the web.address to the outside address tracker.my.domain, the webserver would listen on that address, breaking the https proxy setup, and also the link would be http, not https. so the address traccar listens to need to be configurable different from the public address used in the email alerts.

Lukas Z.6 years ago

web.url