diff options
Diffstat (limited to '.env.template')
-rw-r--r-- | .env.template | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.env.template b/.env.template index 7fcbbfcb..fecac220 100644 --- a/.env.template +++ b/.env.template @@ -135,13 +135,20 @@ ## which is replaced with the domain. For example: `https://icon.example.com/domain/{}`. ## ## `internal` refers to Vaultwarden's built-in icon fetching implementation. -## If an external service is set, an icon request to Vaultwarden will return an HTTP 307 +## If an external service is set, an icon request to Vaultwarden will return an HTTP ## redirect to the corresponding icon at the external service. An external service may ## be useful if your Vaultwarden instance has no external network connectivity, or if ## you are concerned that someone may probe your instance to try to detect whether icons ## for certain sites have been cached. # ICON_SERVICE=internal +## Icon redirect code +## The HTTP status code to use for redirects to an external icon service. +## The supported codes are 307 (temporary) and 308 (permanent). +## Temporary redirects are useful while testing different icon services, but once a service +## has been decided on, consider using permanent redirects for cacheability. +# ICON_REDIRECT_CODE=307 + ## Disable icon downloading ## Set to true to disable icon downloading in the internal icon service. ## This still serves existing icons from $ICON_CACHE_FOLDER, without generating any external |