Question

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

Subscribe
Share

Submit an 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.