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.
Subject Author Posted

nginx erroneously redirecting to https

Piki October 04, 2012 06:07AM

Re: nginx erroneously redirecting to https

Piki October 04, 2012 07:00AM

Re: nginx erroneously redirecting to https

Piki October 07, 2012 09:42AM

Re: nginx erroneously redirecting to https

Gulaholic December 21, 2012 11:05AM

Re: nginx erroneously redirecting to https

Francis Daly December 21, 2012 02:22PM

Re: nginx erroneously redirecting to https

Gulaholic December 22, 2012 12:00PM

Re: nginx erroneously redirecting to https

Gulaholic December 27, 2012 11:27AM

Re: nginx erroneously redirecting to https

Edho Arief December 22, 2012 12:06PM

Re: nginx erroneously redirecting to https

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

Re: nginx erroneously redirecting to https

Gulaholic December 27, 2012 11:30AM

Re: nginx erroneously redirecting to https

Francis Daly December 23, 2012 06:12AM

Re: nginx erroneously redirecting to https

Francis Daly December 29, 2012 09:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 276
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready