1. Edited the nginx.conf file and added a total of 5 virtual hosts, as shown in Figure 1:

2. Executed the command: nginx -s reload to reload, and an error occurred, as shown in Figure 2:
Error message: nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
Translation: nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
![Executed the command: nginx -s reload to reload, and an error occurred: nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32](https://media.shuijingwanwq.com/2016/10/2.png)
3. Opened the URL: http://nginx.org/en/docs/http/server_names.html to check the relevant information on the official website, as shown in Figure 3:
server_names_hash_bucket_size: Server name length limit, because the name of one of the virtual hosts is: www.yii2-starter-kit.test

4. Edited the nginx.conf file and set server_names_hash_bucket_size to 64, as shown in Figure 4:

5. Executed the command: nginx -s reload to reload, and it worked normally, as shown in Figure 5:

