Welcome! Log In Create A New Profile

Advanced

how to use proxy_set_header set Cookie

yaoxinming
July 09, 2010 06:40AM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

how to use proxy_set_header set Cookie

yaoxinming July 09, 2010 06:40AM

Re: how to use proxy_set_header set Cookie

Liu Lantao July 10, 2010 08:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready