Hi All,
When I try to log into the control panel through Cloudflare's WAF using http I get the following error:
I am using a non-standard port (2087) that's allowed by Cloudflare's WAF to keep it slightly tucked away from your average bots (i.e. slight security theater).
In Cloudflare I have the connection to the server set up as 'SSL/TLS encryption: Full (strict)', I have the edge certificate set to 'Always Use HTTPS', and even set up a Rule to 301 permanent redirect http://sub.mydomain.com:2087/ to https://sub.mydomain.com:2087/ and I still get the same error.
Edit: I forgot to mention that the subdomain is proxied in Cloudflare's DNS area.
On the server - am I crazy or did there used to be a directadmin.conf setting to redirect http to https? I can't find it there, nor an related setting in Server Manager > Administrator Settings.
Any help fixing the problem would be appreciated so I can put this one to bed.
Cheers
When I try to log into the control panel through Cloudflare's WAF using http I get the following error:
400 Bad Request
The plain HTTP request was sent to HTTPS port
cloudflare
I am using a non-standard port (2087) that's allowed by Cloudflare's WAF to keep it slightly tucked away from your average bots (i.e. slight security theater).
In Cloudflare I have the connection to the server set up as 'SSL/TLS encryption: Full (strict)', I have the edge certificate set to 'Always Use HTTPS', and even set up a Rule to 301 permanent redirect http://sub.mydomain.com:2087/ to https://sub.mydomain.com:2087/ and I still get the same error.
Edit: I forgot to mention that the subdomain is proxied in Cloudflare's DNS area.
On the server - am I crazy or did there used to be a directadmin.conf setting to redirect http to https? I can't find it there, nor an related setting in Server Manager > Administrator Settings.
Any help fixing the problem would be appreciated so I can put this one to bed.
Cheers
Last edited: