summaryrefslogtreecommitdiff
path: root/local_settings.py.example
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-08 13:55:38 -0600
committerDan McGee <dan@archlinux.org>2011-11-08 13:55:38 -0600
commit886630dd4e65a7be6d1bd3d8a0e70ab24e5affc6 (patch)
tree6022547f146db5487fdc09c5d93e2b9b726befa2 /local_settings.py.example
parent28f72db7be7bf2f54d734c78422e6179f0ce29f1 (diff)
Always use same URL for both secure and non-secure CDN requests
Use a scheme-relative URL rather than serving different content to users based on HTTP or HTTPS. Should prevent mismatched certificate errors. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'local_settings.py.example')
-rw-r--r--local_settings.py.example5
1 files changed, 2 insertions, 3 deletions
diff --git a/local_settings.py.example b/local_settings.py.example
index beb48f84..bad03921 100644
--- a/local_settings.py.example
+++ b/local_settings.py.example
@@ -53,8 +53,7 @@ SECRET_KEY = '00000000000000000000000000000000000000000000000'
## CDN settings
CDN_ENABLED = False
-CDN_PATH = 'http://example.com/path/'
-CDN_PATH_SECURE = 'https://example.com/path/'
-
+# Scheme-relative URL, should work for both http/https
+CDN_PATH = '//example.com/path/'
# vim: set ts=4 sw=4 et: