[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Cookie renaming per server
From:       "jlange" <nginx-forum () forum ! nginx ! org>
Date:       2017-10-25 17:07:46
Message-ID: 4598ecb41ce6e619d905d15e76676f5b.NginxMailingListEnglish () forum ! nginx ! org
[Download RAW message or body]

I am looking for a way to rename a cookie in a Set-Cookie header on a
per-server basis.

Each server that I'm proxying generates a "Set-Cookie: sessionid=xxxxxx"
header. I would like to create some sort of rule that would rename that
cookie "sessionid_xyz=xxxxxx" when sending to the client, then rename it
back to session_id when sending back to the proxy_pass location

Is this possible given the standard set of plugins? or will I have to write
a completely new plugin to pull this off?

Any help would be greatly appreciated.

Thanks!

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277061,277061#msg-277061

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic