Error while trying to renew certificate - directive is duplicate

Hi @arunk and Welcome to the forum...
I am certainly not an expert with nginx, but take a look at this thread as it might be helpful in your situation:

Also, you might consider upgrading your certbot to the latest version...

11 Likes