Rules for https

we’ve trying to create a rule for this case.
Our domain has to be with SSL strict, but our subdomain has to be without redirect on https.
We have set this rule:
(http.request.full_uri contains mail.domain)
and then set the options:
Automatic HTTPS Rewrites
both on Off, but if i digit the domani not resolve. It seems going from https to http and so on in loop.
Could you help me to solve please?
Many thanks in advance.

You want to be http, not https?
(Is a web application, and you don’t use it for email?)
Do you have “always use HTTPS” enabled (it different from HTTPS rewrites which changes HTTP links in pages to HTTPS).

Can you give the domain name, it’s easier just to check it.


Hi and thanks for your fast and kind reply.

About your reply, yes our provider says us that (this is the domain) has to be on http and not on https. It is horde web mail. While works on https

I don’t understand which modify I have to do to solve this.

1 Like is redirecting to HTTPS.

curl -I
HTTP/1.1 301 Moved Permanently
Date: Thu, 14 Dec 2023 10:16:47 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Thu, 14 Dec 2023 11:16:47 GMT
Report-To: {"endpoints":[{"url":"https:\/\/\/report\/v3?s=A4p3kQ64GwWOJS2FM1ZHOsXd%2F0v30bSQktTWfYjvFcFv3%2F4qu6Uh21nacmDINNrMZrCN6XJxL72NFH5nKUUlxuyALRAe6nPA3UamrdpJxJzGXC7cUr%2Fa%2B%2BonLXM5q25THiUbZr8%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 8355b17dffdc71e4-LHR

Check if “Always use HTTPS” is enabled here…

Disabling it will disable it for your whole zone (it can’t be done in configuration rules) so you will likely need to set rules to redirect and to HTTPS here:

Also ensure you are set to “Full (Strict)” here…

[add] Having to access a webmail page with just http seems a very bad idea. Any login credentials and the traffic won’t be encrypted. I would double check that is actually the requirement, and if it is, find an alternate webmail solution that can properly protect your data.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.