aboutsummaryrefslogtreecommitdiff
path: root/.env.template
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2019-02-08 19:21:48 +0100
committerDaniel García <[email protected]>2019-02-08 19:21:48 +0100
commit8fac72db534723473d2876c213f3d7d1b5ab6f57 (patch)
tree6fa2861d482ed445c4ac941d1db5a322660d14c2 /.env.template
parent820c8b0dce56c009b4fa43e1606d71b2dd7aa63f (diff)
downloadvaultwarden-8fac72db534723473d2876c213f3d7d1b5ab6f57.tar.gz
vaultwarden-8fac72db534723473d2876c213f3d7d1b5ab6f57.zip
Mention relation between DOMAIN and mail settings in .env template1.7.0
Diffstat (limited to '.env.template')
-rw-r--r--.env.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/.env.template b/.env.template
index a018aa98..b7ae6eaa 100644
--- a/.env.template
+++ b/.env.template
@@ -69,7 +69,8 @@
## Domain settings
## The domain must match the address from where you access the server
-## Unless you are using U2F, or having problems with attachments not downloading, there is no need to change this
+## It's recommended to configure this value, otherwise certain functionality might not work,
+## like attachment downloads, email links and U2F.
## For U2F to work, the server must use HTTPS, you can use Let's Encrypt for free certs
# DOMAIN=https://bw.domain.tld:8443
@@ -88,6 +89,7 @@
# ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"}
## Mail specific settings, set SMTP_HOST and SMTP_FROM to enable the mail service.
+## To make sure the email links are pointing to the correct host, set the DOMAIN variable.
## Note: if SMTP_USERNAME is specified, SMTP_PASSWORD is mandatory
# SMTP_HOST=smtp.domain.tld