Revert "Try moving the redirect to the app layer."

This reverts commit 0cba17efe3.
This commit is contained in:
yackob03 2013-10-01 16:54:05 -04:00
parent 9c32770250
commit 540815b943
3 changed files with 4 additions and 24 deletions

View file

@ -8,6 +8,10 @@ WSGIPassAuthorization On
<VirtualHost *:80>
SetEnvIf X-Forwarded-Proto https HTTPS=1
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=permanent]
Alias /static /opt/python/current/app/static/
<Directory /opt/python/current/app/>
Order allow,deny