Show More
@@ -23,7 +23,7 b' def launch(application):' | |||||
23 | environ['wsgi.multiprocess'] = True |
|
23 | environ['wsgi.multiprocess'] = True | |
24 | environ['wsgi.run_once'] = True |
|
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 | environ['wsgi.url_scheme'] = 'https' |
|
27 | environ['wsgi.url_scheme'] = 'https' | |
28 | else: |
|
28 | else: | |
29 | environ['wsgi.url_scheme'] = 'http' |
|
29 | environ['wsgi.url_scheme'] = 'http' |
General Comments 0
You need to be logged in to leave comments.
Login now