nginx problem with allow when forwarding through 2 proxy's
Tomasz Pajor
nikon at puffy.pl
Thu Dec 18 14:55:58 MSK 2008
Schema:
nginx1 -> nginx2 -> apache
On nginx2 i've got stub status module, and I want to allow only one ip
to view the data.
But when I add the directive, it won't work, because nginx2 sees that
connection came from nginx1 which is on the same machine as nginx2 so
client ip would be 127.0.0.1.
Is that a bug or it should be that way?
--
Tom
More information about the nginx
mailing list