I am very new to Ghost and just installed Ghost 4.3.3 on Ubuntu bullseye/sid / focal.
Everything works fine. However I have an advanced request that drives me kinda crazy.
I want my blog to be accessible on the clearnet, via normal URL. But I also want to run it as an .onion site for the TOR browser.
This setup would require that Ghost is accessible via HTTP, without a redirect.
The local configuration would be
HiddenServicePort 80 127.0.0.1:80 which fails, because Ghost wants to redirect to 443.
When I configure the hidden service to use 443, like this:
HiddenServicePort 443 127.0.0.1:443
the site works, but apparently the TOR browser displays a bright error warning, as the SSL cert name is a mismatch.
So now I am looking for a way to enable the local tor configuration and service to access Ghost via http, while at the same time I can maintain the http to https redirect on the clearnet.
Anyone any idea?
Thanks in advance!