Page 1 of 1

Moving from Apache to nginx 1.2.1 server (https problem)

Posted: Fri Sep 13, 2013 7:49 pm
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)

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

Posted: Sat Sep 14, 2013 7:31 am
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.

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

Posted: Wed Sep 25, 2013 6:47 pm
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';