Thanks! It worked :) On Tue, Sep 21, 2021 at 7:55 AM Sergey Kandaurov <pluk...@nginx.com> wrote:
> > > > On 21 Sep 2021, at 17:46, Greeshma A <greeshma.avadhoo...@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