Welcome! Log In Create A New Profile

Advanced

Re: Unit test for proxy_protocol

Greeshma A
September 21, 2021 11:56AM
Thanks! It worked :)

On Tue, Sep 21, 2021 at 7:55 AM Sergey Kandaurov <pluknet@nginx.com> wrote:

>
>
> > On 21 Sep 2021, at 17:46, Greeshma A <greeshma.avadhootha@gmail.com>
> wrote:
> >
> > Thanks for pointing to the variable I can use.
> >
> > What variable would capture the ip address and port number together?
> > As far as I see, it's either the ip address or port?
> > How can I combine them in the map definition?
> > Can I put a colon in the map definition like follows
> >
> > map $proxy_protocol_addr:$proxy_protocol_port $proxy_state{
> >
> > }
> >
>
> Yes, you can in modern nginx versions.
> See the very beginning of the reference:
> http://nginx.org/r/map
>
> --
> Sergey Kandaurov
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Unit test for proxy_protocol

Greeshma A 183 September 21, 2021 12:58AM

Re: Unit test for proxy_protocol

Sergey Kandaurov 30 September 21, 2021 05:44AM

Re: Unit test for proxy_protocol

Greeshma A 26 September 21, 2021 10:48AM

Re: Unit test for proxy_protocol

Sergey Kandaurov 29 September 21, 2021 10:56AM

Re: Unit test for proxy_protocol

Greeshma A 40 September 21, 2021 11:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready