Report this

What is the reason for this report?

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

Posted on December 21, 2016

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



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.