agentzh wrote: > We will probably have header_filter_by_lua and > body_filter_by_lua directives by this Christmas ;) That will be great. I still think Nginx should have plain C equivalents to Apache's ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath. It's a problem that comes up fairly often when proxying legacy servers. Nginx could even do it by default, when there isby tobia - Nginx Mailing List - English
I wrote: > That leaves me with the Perl module... ...which apparently cannot do it either: you can only set response headers from scratch. > $r->header_out(header, value) - set a response header. Does anybody have any idea? Tobiaby tobia - Nginx Mailing List - English
António P. P. Almeida Wrote: > > How can I rewrite the content of the Set-Cookie > > response headers, replacing ";Domain=backend.int" > > with ";Domain=external.domain.com"? > > AFAIK you'll need to use 3rd party modules. Either > http://wiki.nginx.org/HttpHeadersMoreModule and/or > http://github.com/chaoslawful/lua-nginx-module > &by tobia - Nginx Mailing List - English
Hello Does nginx (or a module) provide functionality equivalent to httpd's ProxyPassReverseCookieDomain? Long explanation: I have a simple nginx reverse proxy server { server_name external.domain.com; location / { proxy_pass http://backend.int/; } } The problem is that Set-Cookie response headers contain ";Domain=backend.int", because the backend does not knowby tobia - Nginx Mailing List - English