mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #388] Invite mails use localhost as domain #224
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#224
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ldidry on GitHub (Feb 8, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/388
The line 72 of the .env.template file says that there is no need to set
DOMAIN"Unless you are using U2F, or having problems with attachments not downloading" but without setting upDOMAIN, the invite link in mails useshttp://localhostas domain.This could be fixed either by updating the documentation or using the HTTP headers (Host and Scheme) to find the currently used domain (I don't know if it would work with Docker, I don't know Caddy which is the suggested proxy).
@mprasil commented on GitHub (Feb 8, 2019):
See documentation for other proxies. As far as I remember you only need to forward the
Hostheader and it should work fine.@ldidry commented on GitHub (Feb 8, 2019):
It didn't work for me with Nginx.
@dani-garcia commented on GitHub (Feb 8, 2019):
At the moment we only guess the domain for the attachments, the emails require the
DOMAINvariable to be set, the .env file wasn't updated apparently.We should update the documentation accordingly, and we could also consider using the same domain-guessing for email if possible (For u2f it might not be a good idea, as the authentication can break if the domain changes).
@dani-garcia commented on GitHub (Feb 8, 2019):
I updated the env file to better reflect the current situation, and also added the domain guessing functionality to the feature requests issue, so I think this can be closed now. Thanks!
@ldidry commented on GitHub (Feb 8, 2019):
Thx 👍