The operating system my web server runs on is (include version): Debian
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 0.31.0
Before applying letsencrypt / without SSL, the website worked fine. After letsencrypt, my browser gives me the error message "Too many redirects", and this tool https://check-your-website.server-daten.de/?q=chainsigma.com also says that there is a loop.
However, I couldn't find an error in the sites-available/chainsigma.com file:
server {
server_name chainsigma.com www.chainsigma.com;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
root /home/user/chainsigmacom;
}
location / {
include proxy_params;
proxy_pass http://unix:/run/chainsigma_gunicorn.sock;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/chainsigma.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/chainsigma.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}server {
if ($host = www.chainsigma.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = chainsigma.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name chainsigma.com www.chainsigma.com;
return 404; # managed by Certbot
}
Of course, you are free to keep using Cloudflare, but disable the proxy/CDN functionality (by toggling off the "orange cloud" in your DNS records).
That will also get rid of the redirect loop. Once your DNS and browser catch up, anyway.
If you do move your DNS hosting to dnsowl.com, remember to create the zone and all the DNS records there. At the moment it reports NXDOMAIN for chainsigma.com.