Challenge failed for domain certbot nginx

Debian 10+nginx
I request a certificate with the command
sudo / usr / local / bin / certbot-auto --nginx and see fail:

nginx: [warn] conflicting server name “ ” on, ignored
Waiting for verification…
Challenge failed for domain 
http-01 challenge for 
Cleaning up challenges
Some challenges have failed.


The problem has been resolved. I remove listen 80; from sites-enable config and it work!

This website uses cookies We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.