X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a0942ef441045f07646c3ba06f5f804827efd992..cc10d1ddfc652f6bcf3bbf61d5ec2e2861394c03:/.env.example.complete diff --git a/.env.example.complete b/.env.example.complete index e89dc5515..0667cb75b 100644 --- a/.env.example.complete +++ b/.env.example.complete @@ -72,7 +72,7 @@ MYSQL_ATTR_SSL_CA="/path/to/ca.pem" # Mail configuration # Refer to https://www.bookstackapp.com/docs/admin/email-webhooks/#email-configuration MAIL_DRIVER=smtp -MAIL_FROM=mail@bookstackapp.com +MAIL_FROM=bookstack@example.com MAIL_FROM_NAME=BookStack MAIL_HOST=localhost @@ -363,6 +363,15 @@ ALLOWED_IFRAME_HOSTS=null # Current host and source for the "DRAWIO" setting will be auto-appended to the sources configured. ALLOWED_IFRAME_SOURCES="https://*.draw.io https://*.youtube.com https://*.youtube-nocookie.com https://*.vimeo.com" +# A list of the sources/hostnames that can be reached by application SSR calls. +# This is used wherever users can provide URLs/hosts in-platform, like for webhooks. +# Host-specific functionality (usually controlled via other options) like auth +# or user avatars for example, won't use this list. +# Space seperated if multiple. Can use '*' as a wildcard. +# Values will be compared prefix-matched, case-insensitive, against called SSR urls. +# Defaults to allow all hosts. +ALLOWED_SSR_HOSTS="*" + # The default and maximum item-counts for listing API requests. API_DEFAULT_ITEM_COUNT=100 API_MAX_ITEM_COUNT=500