Merge branch 'master' of https://bitbucket.org/yackob03/quay
This commit is contained in:
commit
d15e1bb651
1 changed files with 18 additions and 16 deletions
|
@ -6,9 +6,12 @@ WSGIRestrictEmbedded On
|
|||
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
|
||||
|
@ -18,7 +21,6 @@ Allow from all
|
|||
|
||||
WSGIScriptAlias / /opt/python/current/app/application.py
|
||||
|
||||
|
||||
<Directory /opt/python/current/app/>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
|
|
Reference in a new issue