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

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

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

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.

Have another answer? Share your knowledge.