about summary refs log tree commit diff
path: root/.env.production.sample
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-02-06 11:25:18 +0100
committerThibG <thib@sitedethib.com>2020-02-06 12:15:15 +0100
commitccaefd139d33f2f0bf4d097131bcf91960bee956 (patch)
treeea2b5449eb0d697844d5ace1e68d5eaaa6bea1f1 /.env.production.sample
parent885e9227c6e8e1ce5e4a5625d5126ba76dce2c00 (diff)
Add environment variable to specify extra data hosts
Fixes #1276
Diffstat (limited to '.env.production.sample')
-rw-r--r--.env.production.sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/.env.production.sample b/.env.production.sample
index f573a37de..a752298e8 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -89,6 +89,11 @@ SMTP_FROM_ADDRESS=notifications@example.com
 # Access-Control-Allow-Origin: https://example.com/
 # CDN_HOST=https://assets.example.com
 
+# Optional list of hosts that are allowed to serve media for your instance
+# This is useful if you include external media in your custom CSS or about page,
+# or if your data storage provider makes use of redirects to other domains.
+# EXTRA_DATA_HOSTS=https://data.example1.com|https://data.example2.com
+
 # S3 (optional)
 # The attachment host must allow cross origin request from WEB_DOMAIN or
 # LOCAL_DOMAIN if WEB_DOMAIN is not set. For example, the server may have the