<div>try this, but i&#39;m not sure.</div>
<div> </div>
<div> </div>
<div> location /el {<br>        proxy_set_header &quot;Cookie: mysession=$arg_ccvalue&quot;;<br>        proxy_pass   <a href="http://172.16.1.30:8080/trance">http://172.16.1.30:8080/trance</a>;</div>
<p>        }<br><br></p>
<div class="gmail_quote">On Fri, Jul 9, 2010 at 6:36 PM, yaoxinming <span dir="ltr">&lt;<a href="mailto:yaoxinming@gmail.com">yaoxinming@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I user a nginx to proxy a java web server,and want to add a cookie when proxy the url,my config :<br><br><br>
 location /el {<br>        proxy_set_header Cookie &quot;mysession=$arg_ccvalue&quot;;<br>        proxy_pass   <a href="http://172.16.1.30:8080/trance" target="_blank">http://172.16.1.30:8080/trance</a>;<br><br>        }<br>
but i can get the cookie in my java web application<br><br>if anyone can give some advice?<br><br>thanks<br><br><br><br>_______________________________________________<br>nginx mailing list<br><a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Liu Lantao<br>EMAIL: liulantao ( at ) gmail ( dot ) com ; <br>
WEBSITE: <a href="http://www.liulantao.com/">http://www.liulantao.com/</a> .<br>