-
-
Save feinar/70e5d54f7dda707df14aa0fa1349e23d to your computer and use it in GitHub Desktop.
nginx https if statement for fastcgi_params
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
| 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