Moving from Apache to nginx 1.2.1 server (https problem)

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
madlars
New Member
New Member
Posts: 2
Joined: Fri Sep 13, 2013 7:40 pm

Moving from Apache to nginx 1.2.1 server (https problem)

Post by madlars »

Hello,
I am migrating my sites from my old apache server to my new nginx server.
My nginx version is 1.2.1 and somehow cmsms thinks it's in https mode while it's not, Is there a way to solve this? I've been searching for days on the internet and came accross 1 solution that did not help: http://ryantvenge.com/2013/07/using-cms ... ith-nginx/

Any ideas? If I can't get CMSMS to work I'm thinking of stepping over to modx (but from what I've seen I really do not fancy it over cmsms)
madlars
New Member
New Member
Posts: 2
Joined: Fri Sep 13, 2013 7:40 pm

Re: Moving from Apache to nginx 1.2.1 server (https problem)

Post by madlars »

As you can see here:
http://nucleos.nl/
The website refers to a https url for the stylesheet instead of a http url.
I need that changed, and not just for the stylesheet. When in the admin panel everything works fine, untill you click the "view site" icon and you will come across a https link again which is not working.

I use php 5.4 in fpm mode.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Moving from Apache to nginx 1.2.1 server (https problem)

Post by Dr.CSS »

I would look at my config.php to make sure nothing is it that shouldn't be there, latest versions need very little...

$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'root';
$config['db_password'] = '';
$config['db_name'] = '1102';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'http://localhost/1.11';
$config['timezone'] = 'America/Denver';
$config['default_encoding'] = 'utf-8';
Post Reply

Return to “The Lounge”