nginx can not start
-
So I've been using Laragon for 2 years now. I did not have any problems for at least 6 months now. Today just now without me changing anything in the environment or updating anything, I was working for 3 hours and upon a refresh of a page of the web app I'm developing with Laravel it takes longer than usual to load the page, so I do the routine thing and turn laragon off and then start it again so it restarts nginx and MySQL. Once I did that I got a message
Service nginx cannot start. Reason:
nginx: [emerg] could not build server_names_hash, you should increase_server_names_hash_bucket_size: 32
Nothing has changed in my dev environment, I just tried to reload the page after doing some changes in my template files of the app I'm developing, so why suddenly the above message? I thought restarting the machine would help, but it does not.
What can I do to get Laragon to work again with nginx? My web app is not loading anymore nor anything else.
-
@nermamax : The error message is straightforward. Please see the fix here:
http://forum.laragon.org/topic/379/how-to-use-application-on-different-computer-locally-connected/13
-
I fixed it by increasing bucket size
increase_server_names_hash_bucket_size: 64the main question is why did this happen at all out of the blue?
-
@nermamax : Because you have a new project which has long name.