about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-03-29 03:40:18 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-03-28 20:40:18 +0200
commit4f9136d2d55e1547c84fc394c0e5e1bb259d58d2 (patch)
tree923ae77a2cdd4b09b5a92b83df8648f14b78e03a
parent3523aa440ba3f52bf28fe1e9707506d327c4431f (diff)
Document CORS requirement for asset host (#6941)
-rw-r--r--.env.production.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/.env.production.sample b/.env.production.sample
index 1e5ed9f3d..9de2c0650 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -81,6 +81,10 @@ SMTP_FROM_ADDRESS=notifications@example.com
 # PAPERCLIP_ROOT_URL=/system
 
 # Optional asset host for multi-server setups
+# The asset 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://example.com/
 # CDN_HOST=https://assets.example.com
 
 # S3 (optional)