Hey, I want to add custom cookie when proxy pass to the upstream in my custom module. I want to implement like what this config does:
proxy_pass http://servers;
proxy_add_header Cookie "$http_cookie;KEY=VALUE";
But sinc the VALUE is dynamically generated so I need to add this cookie via programming.
How to do that?
Thanks very much.