Artimus has asked for the wisdom of the Perl Monks concerning the following question:

Hi again, everyone!

I am looking for advice how to extract cookies from NGINX web server set up as proxy

I didn't find em in %ENV =(

Best wishes, Amphyby.

  • Comment on getting cookies from nginx set as proxy

Replies are listed 'Best First'.
Re: getting cookies from nginx set as proxy
by Your Mother (Archbishop) on Oct 05, 2015 at 15:02 UTC

    If it's not in the %ENV then it's probably not passing it which means it's an nginx question not a Perl one. This is where I'd start—proxy_cookie_domain—and read everything related to cookies in the other proxy module docs.

    Update: since you didn't give details I'll add nginx out of the box does not support CGI.

      I don't use CGI)

      Guess this information is more suitable: http://nginx.org/ru/docs/ngx_core_module.html#env

      Meanwhile I still haven't succeeded detecting any new variables in ENV))

        I don't use CGI ...

        What are you using? Why are you looking for cookies in %ENV, why do you want cookies in %ENV?