Welcome! Log In Create A New Profile

Advanced

Re: nginx erroneously redirecting to https

December 27, 2012 11:27AM
I'm starting to figure these all out.
I think there are problems with these files: function.cms_stylesheet.php and function.metadata.php. They are probably conflict with Nginx configuration.

Does it has something to do with these:
======
if ($showbase)
{
$base = $config['root_url'];
if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off')
{
$base = $config['ssl_url'];
}

$result .= "\n<base href=\"".$base."/\" />\n";
}
======
if( $auto_https ) {
if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off') {
$use_https = 1;
}
}
======

Why the script thinks Nginx configuration ($_SERVER['HTTPS) is on?
This is my big curiosity.
SubjectAuthorPosted

nginx erroneously redirecting to https

PikiOctober 04, 2012 06:07AM

Re: nginx erroneously redirecting to https

PikiOctober 04, 2012 07:00AM

Re: nginx erroneously redirecting to https

PikiOctober 07, 2012 09:42AM

Re: nginx erroneously redirecting to https

GulaholicDecember 21, 2012 11:05AM

Re: nginx erroneously redirecting to https

Francis DalyDecember 21, 2012 02:22PM

Re: nginx erroneously redirecting to https

GulaholicDecember 22, 2012 12:00PM

Re: nginx erroneously redirecting to https

GulaholicDecember 27, 2012 11:27AM

Re: nginx erroneously redirecting to https

Edho AriefDecember 22, 2012 12:06PM

Re: nginx erroneously redirecting to https

Вадим ЛазовскийDecember 22, 2012 04:46PM

Re: nginx erroneously redirecting to https

GulaholicDecember 27, 2012 11:30AM

Re: nginx erroneously redirecting to https

Francis DalyDecember 23, 2012 06:12AM

Re: nginx erroneously redirecting to https

Francis DalyDecember 29, 2012 09:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 184 on July 08, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready