Question

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

Posted December 21, 2016 3.6k views
Nginx Debian Let's Encrypt

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

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.

1 answer

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.

Submit an Answer