Can't renew certificate

My domain is: jitsi2.triplebit.com

I ran this command: sudo certbot --nginx

It produced this output:
nginx restart failed:
nginx: [emerg] "server_names_hash_bucket_size" directive is duplicate in /etc/nginx/sites-enabled/jitsi2.triplebit.com.conf:1

My web server is (include version): UBUNTU 20.04

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

My hosting provider, if applicable, is: Its a self hosting server behind a router with port forwarding

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.18.0

As the nginx error already states: your nginx configuration is broken. Please fix the nginx error and try the certbot command again. By the way, the correct command for renewal is sudo certbot renew

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.