I am hosting a website from my home. I am using apache2 and setup a virtual host for my domain. But when I use my domain in my browser it gives (522) error. When I use my home ip it does work.
I have been spending an hour trying different tutorials. They all suck hard!!!
Could you link me to a tutorial on how to setup SSL using cloudflare that actually works with ubuntu?
I sortof got it working but the website shows weird behaviour on Opera browser.
if I click on “about” in the navbar it goes to “https://www.skywars.funabout”
but the “tips” button does work. It works properly on other browsers though.
This issue is caused by certbots http to https redirect but I am not sure how to fix this
Using Cloudflare’s “Always Use HTTPS” setting in Edge Certificates frequently interferes with Certbots, as it won’t let HTTP connections through.