about summary refs log tree commit diff
path: root/.env.production.sample
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-05-29 07:43:47 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-05-29 00:43:47 +0200
commitd95642f6d913a99fc44f0ac0695d53534afb7962 (patch)
treeeb40f058b8b96b9cc5a0495908c5ca7ff8d32818 /.env.production.sample
parent03f4c214b459a241a1aab08095a986475bd6f8f0 (diff)
Cache attachments on external host with service worker (#7493)
Diffstat (limited to '.env.production.sample')
-rw-r--r--.env.production.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/.env.production.sample b/.env.production.sample
index 24b6b0143..3047f7595 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -88,6 +88,10 @@ SMTP_FROM_ADDRESS=notifications@example.com
 # CDN_HOST=https://assets.example.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
+# following header field:
+# Access-Control-Allow-Origin: https://192.168.1.123:9000/
 # S3_ENABLED=true
 # S3_BUCKET=
 # AWS_ACCESS_KEY_ID=
@@ -97,6 +101,8 @@ SMTP_FROM_ADDRESS=notifications@example.com
 # S3_HOSTNAME=192.168.1.123:9000
 
 # S3 (Minio Config (optional) Please check Minio instance for details)
+# The attachment host must allow cross origin request - see the description
+# above.
 # S3_ENABLED=true
 # S3_BUCKET=
 # AWS_ACCESS_KEY_ID=
@@ -108,6 +114,8 @@ SMTP_FROM_ADDRESS=notifications@example.com
 # S3_SIGNATURE_VERSION=
 
 # Swift (optional)
+# The attachment host must allow cross origin request - see the description
+# above.
 # SWIFT_ENABLED=true
 # SWIFT_USERNAME=
 # For Keystone V3, the value for SWIFT_TENANT should be the project name