Used Zammad installation type: apt package installation
Operating system: Ubuntu 20.04 Server
Browser + version: Oprea, Chrome, Firefox
Expected behavior:
Can access the web console via host name
Actual behavior:
When I try, I get an error “too many redirects”
Steps to reproduce the behavior:
Try to access the web site
This was all working until a recent upgrade which seems to have caused issues.
I can get to the site via IP address from the local network, but not from the external url which was working.
I can’t see anything in the logs that helps me, so am at a bit of a loss. The site is using letsencrypt certs and they check out OK with certbot and the nginx config seems to be OK.
I would try changing to strict. This worked for me. I would not do it across all your sites / sub domains. I would go to rules and build a page rule and just change for this subdomain.
sorry for the really long delay in getting back to this.
I’m just mucking around with cloudflare now trying to get this to go through the tunnel without error and so far no dice.
I set up a page rule as you suggested, but that still throws the same error.
I’ve checked that the cloudflared tunnel is up and it is… I’m really struggling to work this out now.
I’ve just turned on the network tab under developer tools and can see that it is just looping with 301 redirects time after time so the error message is infact correct.
OK, I now know what the problem is, its the http->https redirect in the nginx configuration, but, I have no clue how to take it out without breaking everything. I want to get rid of all of the certbot stuff and just have the site http because cloudflare is taking care of the https stuff.
Sounds like you had all the same challenges I had. I removed letsencript as well but loaded a Cloudflare Cert as I still wanted secure traffic between Cloudflare and the server.