Created
November 10, 2011 11:08
-
-
Save anthonysomerset/1354618 to your computer and use it in GitHub Desktop.
nginx https if statement for fastcgi_params
This file contains 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
set $ssl off; | |
if ($ssl_protocol != "" ) { | |
set $ssl on; | |
} | |
fastcgi_param HTTPS $ssl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment