Created
August 23, 2011 13:17
-
-
Save pedrolopesme/1165072 to your computer and use it in GitHub Desktop.
Magento - HTTPS problem
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
if( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) ) { | |
$_SERVER['HTTPS'] = 'on'; | |
$_SERVER['SERVER_PORT'] = 443; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment