How to add cookie when proxy_pass via programming?

speedfirst nginx-forum at
Fri May 27 13:32:11 MSD 2011

Thanks. And I want to know the time when "proxy_set_header" is executed,
because the my cookie value is related to the chosen upstream server. So
will proxy_set_header happen before upstream peer initialization or
after that?

Posted at Nginx Forum:,201413,201474#msg-201474

More information about the nginx mailing list