x64architecture / wnmp

An easy Nginx, MariaDB and PHP environment for Windows.
https://wnmp.x64architecture.com
GNU General Public License v3.0
510 stars 109 forks source link

nginx cannot started when server_name with a length big than 14 chars #96

Closed rickywu-posh closed 6 years ago

rickywu-posh commented 7 years ago

if the conf server_name length more than 14 chars, nginx cannot be started. I try 100 times and every time all can prove this issue.

Qsx-LimeFamily commented 6 years ago

you can edit the nginx.conf http{

change the following . you could change server_names_hash_bucket_size [Number++]

server_names_hash_bucket_size 64; }