Https in config.url is not working

Hi Everyone,

i have installed the ghost in my cent os servier. I have php applcation and ghost application running in the same machine. So i used apache proxy redirection
https://www.mydomain.com – php
https://www.mydomain.com/blog – ghost

IN virtualhost apache i am using the bellow settings

ProxyPass http://localhost/ ProxyPassReverse http://localhost/ ProxyPass http://127.0.0.1:2370/blog ProxyPassReverse http://127.0.0.1:2370/blog

Ghost Settings Production :
{
“url”: “http://www.mydomain.com/blog”,
“server”: {
“port”: 2370,
“host”: “127.0.0.1”
},
“database”: {
“client”: “mysql”,
“connection”: {
“host”: “127.0.0.1”,
“user”: “root”,
“password”: “root”,
“database”: “sblog”
}
},
“mail”: {
“transport”: “Direct”
},
“logging”: {
“transports”: [
“file”,
“stdout”
]
},
“paths”: {
“contentPath”: “/var/www/html/blog/content/”
},
“process”: “systemd”,
“bootstrap-socket”: {
“port”: 8000,
“host”: “localhost”
},
“ssl”: “true”
}

Issue
The above configuration working fine for me.https://www.mydomain.com/blog is working fine. But the canonical URL, OG-Meta all urls are pointing to http://www.mydomain.com/blog

If i change the config.url - https://www.mydomain.com/blog … then ghost itself not working… it is keep redirecting 301 to same page again and again.

kindly help me

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.