Hi there
My origin server runs pfsense with haproxy. (Domain: 12bfree.com + subdomains)
It’s got a working LetsEncrypt certificate in place,
HTTP to HTTPS redirect is disabled on pfsense to prevent a loop.
Cloudflare SSL/TLS encryption mode is Full (strict).
The setup works fine via LAN and WAN, except that it does not serve the Apache RootDirectory,
but displays the site’s folder instead.
That’s why I created the following ACL on haproxy:
http-request set path fmt: /FOLDER_NAME
This makes the browser open the correct URL.
However, it now also triggers the message ERR_TOO_MANY_REDIRECTS.
There are no conflicting page rules in place.
I’ve worked through your recommendations found at
https://support.cloudflare.com/hc/en-us/articles/115000219871-Why-does-Flexible-SSL-cause-a-redirect-loop-
and took a look at similar topics here on the board, but to no avail.
Can you please provide some assistance?
Thanks a bunch
Btw: No WordPress involved.