From ef4d55f05d2d1df03364754a38e0844453ffddec Mon Sep 17 00:00:00 2001 From: gzfrozen Date: Sun, 28 Jan 2024 22:49:44 +0900 Subject: [PATCH] Add some comment --- .env.template | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.env.template b/.env.template index ec9bc570..8b6a15ea 100644 --- a/.env.template +++ b/.env.template @@ -166,10 +166,18 @@ ## 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 +## To use HTTPS, the recommended way is to put Vaultwarden behind a reverse proxy +## Details: +## - https://github.com/dani-garcia/vaultwarden/wiki/Enabling-HTTPS +## - https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples ## For development # DOMAIN=http://localhost ## For public server +# DOMAIN=https://vw.domain.tld +## For public server (URL with port number) # DOMAIN=https://vw.domain.tld:8443 +## For public server (URL with path) +# DOMAIN=https://domain.tld/vw ## Controls whether users are allowed to create Bitwarden Sends. ## This setting applies globally to all users. @@ -305,8 +313,10 @@ # ICON_REDIRECT_CODE=302 ## Cache time-to-live for successfully obtained icons, in seconds (0 is "forever") +## Default: 2592000 (30 days) # ICON_CACHE_TTL=2592000 ## Cache time-to-live for icons which weren't available, in seconds (0 is "forever") +## Default: 2592000 (3 days) # ICON_CACHE_NEGTTL=259200 ## Icon download timeout