summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/apache2.conf.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/apache2.conf.erb b/templates/apache2.conf.erb
index ee28bdc..79b9ac1 100644
--- a/templates/apache2.conf.erb
+++ b/templates/apache2.conf.erb
@@ -644,3 +644,6 @@ ErrorDocument 404 http://<%= domain %>/missing.html
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
+
+# See http://www.metaltoad.com/blog/running-drupal-secure-pages-behind-proxy
+SetEnvIf X_FORWARDED_PROTO https HTTPS=on