nginx problem with allow when forwarding through 2 proxy's
mdounin at mdounin.ru
Thu Dec 18 15:42:36 MSK 2008
On Thu, Dec 18, 2008 at 12:55:58PM +0100, Tomasz Pajor wrote:
> 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?
More information about the nginx