Proxy: cookie injection or header filter

My nginx proxy configuration:

    location / {
proxy_set_header Accept-Encoding “”;
sub_filter_types text/xml text/css text/javascript;
sub_filter_once off;
Every thing would be great but sets cookie with
domain and browser doesn’t accept it. So i would like to
filter the header of the response, or inject a cookie (add_header
Set-Cookie "JSESSIONID=…) based on existing Set-Cookie http

Can any one suggest a configuration, module, link … whatever ?

Best regards.

Andrzej Zadrożny
e-mail: [email protected]

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