Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Secure pages seems to be working properly, however on it's initial redirect (the first time it goes from http:// to https://) the theme completely breaks. it seems that no stylesheets are loaded. If you then reload the page or go to another secure page, the theme loads properly.
I'm wondering if a cause may be that we're using Varnish server side caching...Anyone seen this?
Comments
Comment #1
Rob_Feature CreditAttribution: Rob_Feature commentedOops, changing to the proper version where I'm seeing this bug...
Comment #2
babusaheb.vikas CreditAttribution: babusaheb.vikas commentedPut it in your setting.php
if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') {
$protocol = 'https';
} else {
$protocol = 'http';
}
$base_url = $protocol . "://" . "example.com" ;
I hope your problem will solve.