Open aumouth opened 2 years ago
Make sure that setting is not duplicated elsewhere. I run this on multiple servers all using certbot with no errors whatsoever.
I think it is because you are using cert bot nginx plugin.
You can comment the line in /etc/nginx/conf.d/botblocker-nginx-settings.conf
Using one command line :
sed -e '/server_names_hash_bucket_size/ s/^#*/#/' -i /etc/nginx/conf.d/botblocker-nginx-settings.conf
Anyway I am experiencing the same problem as aumouth.
I am using:
authenticator = nginx
Found in /etc/letsencrypt/renewal/mydomain...
Within conf.d/botblocker-nginx-settings.conf server_names_hash_bucket_size directive cause certbot to fail on certificate creations and renewals. Refer https://github.com/certbot/certbot/issues/5199#issuecomment-626375046
Suggest removing or commenting out this directive.