Welcome! Log In Create A New Profile

Advanced

Re: nginx and tproxy

September 15, 2011 12:24PM
thanks your feedback.

Yes, we want to get the source-ip directly.
However, if we want to get real client ip from L7 layer, we need modify the
backend configuration, in some case, we have no permission to modify the
configuration of Web-server.

Is there other way to get client IP other than x-forward-for/x-real-ip?

thanks
George


On Thu, Sep 15, 2011 at 8:19 AM, Reinis Rozitis <r@roze.lv> wrote:

> By tproxy you mean transparent proxying as in doing proxy requests from
> nginx while using clients IP?
>
> It is far more simple to use the Real IP module http://wiki.nginx.org/**
> HttpRealIpModule http://wiki.nginx.org/HttpRealIpModule ( pretty much
> all webservers (apache - mod_rpaf / lighttpd - mod_extforward etc) have
> such modules in one or another form ) rather than trying to achieve it on
> TCP level.
>
> And it is also straight forward to implement it in any other backend
> application.
>
> rr
>
>
> From: Geoge.Q
> Sent: Thursday, September 15, 2011 6:02 PM
> To: nginx@nginx.org
> Subject: nginx and tproxy
>
>
> Hi all:
>
>
> Can we let both work together? Anyone can share his experience with us if
> we want to integrate them?
>
> thanks in advance
>
> george
>
>
> ______________________________**_________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/**mailman/listinfo/nginxhttp://mailman.nginx.org/mailman/listinfo/nginx
> ______________________________**_________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/**mailman/listinfo/nginxhttp://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx and tproxy

nexthop September 15, 2011 11:04AM

Re: nginx and tproxy

Reinis Rozitis September 15, 2011 11:22AM

Re: nginx and tproxy

nexthop September 15, 2011 12:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready