Errors on Step 5 while following How To Secure Nginx with Let's Encrypt on Debian 8

I am having errors when I run # nginx -t What are the reasons and how to fix? Please guide.

nginx: [emerg] the size 10485760 of shared memory zone “SSL” conflicts with already declared size 62914560 in /etc/nginx/snippets/ssl-params.conf:8 nginx: configuration file /etc/nginx/nginx.conf test failed

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

It looks like this was a known issue with Certbot. You should be able to correct it by removing the setting in /etc/nginx/snippets/ssl-params.conf so nginx will use the setting provided by LetsEncrypt.