Nginx errors after updating to 1.9.4

hello, after updating to 1.9.4, Nginx won’t start anymore and these errors had showed up:

the size 10485760 of shared memory zone "SSL" conflicts with already declared size 20971520 in /etc/nginx/conf.d/domains/sub.domain.com.ssl.conf:12

what could be the cause of this? removing this from the ssl configs fixes the issue:

ssl_session_cache shared:SSL:10m;

but we have a lot of domain and this will take us longer, also are new added domains will be affected?

we also had to add this to /etc/nginx/nginx.conf:
limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s;
limit_req_zone $binary_remote_addr zone=static:10m rate=100r/s;

just to make nginx work again. these are the errors:
nginx: [emerg] zero size shared memory zone “api”
nginx: [emerg] zero size shared memory zone “static”

You already had this:

ssl_session_cache shared:SSL:10m

BTW, did you try: killall -9 nginx and restarting the server once?

Also, what template are you using for nginx? Maybe that template has some default settings.