Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong urls in mail notifications - docker #57

Open
NiTRoeSE opened this issue Apr 14, 2021 · 1 comment
Open

Wrong urls in mail notifications - docker #57

NiTRoeSE opened this issue Apr 14, 2021 · 1 comment

Comments

@NiTRoeSE
Copy link

Hello, we run cachet in docker behind a reverse proxy and noticed that all urls in notification mails are wrong.
Urls are always http://ip.address:port instead of https://status.ourpublicdomain.com.
I tried to fix it with environment variables like:


- ASSET_URL=https://status.ourpublicdomain.com
- APP_URL=https://status.ourpublicdomain.com
- APP_NAME=https://status.ourpublicdomain.com

But nothing of these seems to work.
We have also set the public url in "administration configuration" of cachet, but this seems only affect the URL on the status page links.

Is there any way to get the this working ?
Maybe urls in mails should be generated with url given in cachet administration options ?

Thanks in advanced

@mattzuba
Copy link

I'm running this behind a proxy and I'm not having this issue at all. Make sure you have the TRUSTED_PROXIES environment variable set to either the IP address(es) of your proxy, or to *.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants