Open edwardwilson opened 7 years ago
Same here. My custom domain works, but when i try to go to mysite.domain/ghost i am redirected to mysite.azurewebsites.net/ghost and it fails. I updated the websiteUrl to http://mysite.domain, but it doesn't still works
Same here, but when I add my custom domain to websiteUrl, save and restart the WebApp I get a HTTP 500 error until I remove the websiteUrl setting in the portal.
Anyone with a solution here ?
Witch version of Ghost are you using?
The latest, 0.11.3 just upgraded yesterday, but the issue was also there on previous versions.
Same as above, just upgraded a few days ago to 0.11.3 and the error persists since earlier versions as well.
@FlyOrDie The reason why you get redirected to azurewebsites is because /ghost
is the admin panel and you want this to be served over HTTPS thus it uses the wildcard certificate *.azurewebsites.net
that Microsoft provides.
In a nutshell whatever you are experiencing is absolutely ok :)
@edwardwilson under the app setting you might want to add a new key WebsiteUrlSSL
and mention your https link here and revert the WebsiteUrl
back to http link of your custom domain.
Finally restart the app and it should be back to normal.
Thanks, @piyushpaliwal. Setting WebsiteUrlSSL
did indeed solve the problem.
@felixrieseberg, WebsiteUrlSSL was the same fix for me. Maybe it can be default value part of the deploy profile.
Arggh!!! :-) The readme page should be updated to mention WebsiteUrlSSL
I've added a wiki page to cover this
After deploying to azure I added a custom domain. I updated the setting in the azure portal to reflect my change. The setting now reads: https://edwardwilson.me. However my theme which uses the url helper in ghost still returns the azurewebsites.net url. I have restarted many times.