Too many redirects from Cloudflare

My domain is: hirnschall bio

My web server is (include version): nginx/1.18.0

The operating system my web server runs on is (include version): Debian 11

My hosting provider, if applicable, is: vultr

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 1.32.2

I keep getting a too_many_redirects error after installing my certificate with Cerbot.
I followed this guide and did nothing else on the server [How to Install Nginx, MariaDB & PHP (LEMP) on Debian 11 - Vultr com]

curl -iL hirnschall.bio
HTTP/1.1 301 Moved Permanently
Location: https //hirnschall bio/
Server: Cloudflare

HTTP/2 301
location: http //hirnschall bio/
server: Cloudflare

HTTP/1.1 301 Moved Permanently
Location: https //hirnschall bio/
Server: Cloudflare

HTTP/2 301
location: http //hirnschall bio/
server: Cloudflare

Cloudflare redirects to http and my website redirects to https

Thanks in advance for your help

Jakob

Problem solved by changing SSL/TLS from Flexible to Full

1 Like

Welcome to the Cloudflare Community, Jakob.

I just replied to your topic over on the Let’s Encrypt Community. :wave:

The short answer is to change your Cloudflare SSL from Flexible to Full (Strict).

The long answer is in this Community #tutorial.

1 Like