How to use proxy_set_header set Cookie

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”;
proxy_pass http://172.16.1.30:8080/trance;

    }

but i can get the cookie in my java web application

if anyone can give some advice?

thanks

try this, but i’m not sure.

location /el {
proxy_set_header “Cookie: mysession=$arg_ccvalue”;
proxy_pass http://172.16.1.30:8080/trance;

    }