Connecting to localhost or 127.0.0.1 pain
mdounin at mdounin.ru
Sat Mar 20 22:40:21 MSK 2010
On Sat, Mar 20, 2010 at 01:16:28PM +0100, Alexander Vogt wrote:
> >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.
Adding "default" to the server_name does nothing, it just adds
another server alias "default".
More details may be found here:
More information about the nginx