nginx problem with allow when forwarding through 2 proxy's

Tomasz Pajor nikon at
Thu Dec 18 14:55:58 MSK 2008


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

Is that a bug or it should be that way?


More information about the nginx mailing list