Can't renew certificate; redirect loop detected

Welcome to the Let's Encrypt Community :slightly_smiling_face:

This is likely due to a conflict in your nginx configuration.

What are the outputs of:

sudo nginx -T
sudo ls -lRa /etc/nginx
sudo ls -lRa /etc/letsencrypt
sudo certbot certificates

Please put 3 backticks above and below each output, like this:

```
output
```

2 Likes