Seekier Posted May 14, 2020 Posted May 14, 2020 Before I continue I would like thank the Administrators, Mods, Contributors and Members of this great community. Please forgive my bad English. Now to my point, my website is failing to run on https,for example if I set my config file to run on "http://maijo.cf" it works perfectly but if I set config file to run on "https://maijo.cf" it failed thereby bringing out blank index page. I have tried everything I could, even add redirection code to .htaccess and force it use https permanently but failed. I have this feeling that the "phusin passenger app" powering ghost script is responsible for this problem but I don't know how to fix it. Please admins help is neededServer : TommySoftware : Ghost CMSWebsite : https://maijo.cf Thanks in advance
Krydos Posted May 15, 2020 Posted May 15, 2020 There you go https://maijo.cf/ The same thing happened to another Ghost user just a couple days ago. Here is what I said to him: Normally when you do the Register Application step it creates two files. One for http and one for https. When I checked your account the https one was missing, so that's why it worked over http, but not https. To fix it I copied the http setting over to the https virtualhost and restarted apache. The reason I think it happened is you probably added that domain, and then quickly registered the application prior to autossl running and setting up ssl for that domain. Since the https virtualhost didn't exist at the time register application couldn't create both records like it normally does. To fix it yourself you probably could have just ran the register application step of the guide again, and waited two hours for apache to restart. To prevent it from happening in the future, just make sure ssl is working before you register the application.
Seekier Posted May 15, 2020 Author Posted May 15, 2020 Gosh I knew there was a miss-configuration between the passenger. Thank you very much @krydos
Recommended Posts