Show More
@@ -23,7 +23,7 def launch(application): | |||
|
23 | 23 | environ['wsgi.multiprocess'] = True |
|
24 | 24 | environ['wsgi.run_once'] = True |
|
25 | 25 | |
|
26 | if environ.get('HTTPS','off') in ('on','1'): | |
|
26 | if environ.get('HTTPS','off').lower() in ('on','1','yes'): | |
|
27 | 27 | environ['wsgi.url_scheme'] = 'https' |
|
28 | 28 | else: |
|
29 | 29 | environ['wsgi.url_scheme'] = 'http' |
General Comments 0
You need to be logged in to leave comments.
Login now