how to use proxy_set_header set Cookie

yaoxinming yaoxinming at
Fri Jul 9 14:36:30 MSD 2010

I user a nginx to proxy a java web server,and want to add a cookie when
proxy the url,my config :

 location /el {
        proxy_set_header Cookie "mysession=$arg_ccvalue";

but i can get the cookie in my java web application

if anyone can give some advice?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list