Remove Cookies from headers

Hello,

Is there a way to remove cookies sent from the backend?
In varnish we have “unset req.http.cookie” (when receiving the request
before sending to the backend) or “unset beresp.http.set-cookie” (when
sending the response from the backend to the client) to manipulate
cookies.

I’m not using cache … just want to remove cookies before the response
is sent to the client.

Do we have any similar option to do this?

Thanks

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

2011/1/27 nfn [email protected]:

Is there a way to remove cookies sent from the backend?

Use proxy_hide_header Set-Cookie or fastcgi_hide_header Set-Cookie.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs