]> git.0d.be Git - panikdb.git/blobdiff - panikdb/settings.py
settings: define SECURE_PROXY_SSL_HEADER
[panikdb.git] / panikdb / settings.py
index 88b242abc8fc45a3c6c97112a8b5901bc9c03f05..7f32673eb414967bf10608e84c54a0d18d177633 100644 (file)
@@ -72,6 +72,8 @@ STATIC_ROOT = os.path.join(PROJECT_PATH, 'static')
 # Example: "http://example.com/static/", "http://static.example.com/"
 STATIC_URL = '/static/'
 
+SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
+
 CKEDITOR_UPLOAD_PATH = 'uploads/'
 CKEDITOR_UPLOAD_PREFIX = '/media/uploads/'