Error in nginx logs

Hello, When we open logs in /Path/To/Kobo-Docker/log/nginx, we see:

[emerg] 18873#18873: could not build server_names_hash, you should increase server_names_hash_bucket_size: 64

It was suggested that we add the following line to our nginx/nginx_site_https.conf.tmpl file located in /Path/To/Kobo-Docker/Nginx folder:

server_names_hash_bucket_size 64;

This line was added directly under the line: charset utf-8;
We even increased the value to 128
Afterwards, we restarted the nginx container with :
docker restart kobo-docker_nginx_1

The error continues to display. Any help would be greatly appreciated.