How do I disable http access on port 80? #238
-
Love the add-on. I noticed the other day that I could access HA through my cloudflared domain on either port 80 or port 443. I would've guessed that cloudflare would automatically redirect 80 to 443, but it seems it does not. I can't find an obvious setting for this in the zero trust settings, or in the Add-on config. I'm not sure if it matters, but I do not have ssl/tls enabled on my lan HA, just http on port 8123. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Take advance of the cloudflare's WAF and create a rule like this |
Beta Was this translation helpful? Give feedback.
-
I think the WAF rule for that is a bit of overkill (though it does work). There is a straight forward setting for that in the Cloudflare Dashboard unter "SSL/TLS" and "Edge Certificates" called "Always Use HTTPS", so I recommend enabling that. |
Beta Was this translation helpful? Give feedback.
I think the WAF rule for that is a bit of overkill (though it does work). There is a straight forward setting for that in the Cloudflare Dashboard unter "SSL/TLS" and "Edge Certificates" called "Always Use HTTPS", so I recommend enabling that.