From 281785e6123d023485bab7c946c2bbd2c3d12a1d Mon Sep 17 00:00:00 2001 From: yackob03 Date: Mon, 30 Sep 2013 18:15:28 -0400 Subject: [PATCH] Try to handle ELB ssl termination gracefully. --- wsgi.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wsgi.conf b/wsgi.conf index 956ff0040..0ab627d81 100644 --- a/wsgi.conf +++ b/wsgi.conf @@ -6,6 +6,8 @@ WSGIRestrictEmbedded On +SetEnvIf X-Forwarded-Proto https HTTPS=1 + Alias /static /opt/python/current/app/static/ Order allow,deny