Created
January 24, 2012 13:23
-
-
Save svetlyak40wt/1670159 to your computer and use it in GitHub Desktop.
lighttpd_gunicorn_https.cfg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $HTTP["url"] !~ "^/(?:media|ping.html|hna).*" { | |
| $HTTP["scheme"] == "https" { | |
| setenv.add-request-header = ("X-FORWARDED-PROTOCOL" => "ssl", "X-FORWARDED-SSL" => "on") | |
| } | |
| proxy.server = ( | |
| "/" => (( | |
| "host" => "127.0.0.1", | |
| "port" => 8302, | |
| )) | |
| ) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment