Try to handle ELB ssl termination gracefully.
This commit is contained in:
parent
5985f855c5
commit
281785e612
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ WSGIRestrictEmbedded On
|
||||||
|
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
|
|
||||||
|
SetEnvIf X-Forwarded-Proto https HTTPS=1
|
||||||
|
|
||||||
Alias /static /opt/python/current/app/static/
|
Alias /static /opt/python/current/app/static/
|
||||||
<Directory /opt/python/current/app/>
|
<Directory /opt/python/current/app/>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
|
|
Reference in a new issue