how to use proxy_set_header set Cookie

yaoxinming yaoxinming at gmail.com
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";
        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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100709/e1dbe5a4/attachment.html>


More information about the nginx mailing list