使用certbot报如下错误

  • The certificate was saved, but could not be installed (installer: nginx). After fixing the error shown below, try installing it again by running:
    运行certbot --nginx给域名加密
    然后就出现上面的报错
    还有nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 这种