Lets Encrypt won't renew TLS certificates with Jitsi Nginx config

I run jitsi meet on an Ubuntu 18.04 server. On that server I also have mattermost, and gitea. Unfortunately after I installed jitsi, Lets Encrypt stopped renewing my certificates. This is the error it gives:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/git.XXXX.XXX.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for git.XXXX.XXX
nginx: [emerg] "server_names_hash_bucket_size" directive is duplicate in /etc/nginx/sites-enabled/meet.XXXXXXXX.XXXX.XXX.conf:1
Cleaning up challenges
Attempting to renew cert (git.XXXX.XXX) from /etc/letsencrypt/renewal/git.XXXX.XXX.conf produced an unexpected error: nginx restart failed:
b''
b''. Skipping.`

That error is for renewing my certificate for my gitea instance, I get the same error with my mattermost one. I don’t have server_names_hash_bucket_size anywhere else in nginx, so I don’t see how it can be a duplicate.

Any help would be appreciated. Thank you!

see this
in short include a directive with a value of 128 and it should work.