Connecting to localhost or 127.0.0.1 pain

Alexander Vogt av at creativespot.de
Sat Mar 20 15:16:28 MSK 2010


> app1 connects to app2 using http://localhost but nginx 
>doesn't seem to
> understand the request.
> 
> Should I add localhost to the server_name???

yes, that would maybe help.

alternatively add "default" to the server_name.

hth



More information about the nginx mailing list