above Mage::run($mageRunCode, $mageRunType);
try the following:
if (isset($_SERVER[‘HTTP_X_FORWARDED_PROTO’]) && $_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’) {
$_SERVER[‘HTTPS’] = ‘on’;
$_SERVER[‘SERVER_PORT’] = 443;
}
Within the server block:
# Check if Load Balancer handled SSL
set $my_https “off”;
if ($http_x_forwarded_proto = “https”) {
set $my_https “on”;
}
I then added with the rest of the fastcgi params:
fastcgi_param HTTPS $my_https;
http://blog.ideaday.de/max/2012/12/magento-https-redirect-loop-ssl-offloading-proxies-pound-nginx/
Have a nice day!
Max
Read Apache doc here : http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html
]]>You just need to fix up the absolute URL’s you’re using on the footer, e.g:
http://www.leluv.xxx/skin/frontend/default/default/images/credit-card-new.png
View the page source, or inspect it with Chrome inspector or Firebug to see which resources are being loaded without https.
These url’s are probably hard coded in your theme/template files. Fire your Magento developer and get a good one 😛
]]>https://www.leluv.xxx/amazon-check.html
vs:
https://www.leluv.xxx/checkout/cart/
So far I already added the below line to .htaccess file, is there anything else I need to do to make this works? THANKS IN ADVANCE..
SetEnvIf X-Forwarded-Proto https HTTPS=on
]]>Cheers
]]>