Re: Logging header values from the first upstream

2013-10-10 Thread Matt Spitz
Perfect. Thank you very much! -- Posted via http://www.ruby-forum.com/. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Logging header values from the first upstream

2013-10-10 Thread Maxim Dounin
Hello! On Fri, Oct 11, 2013 at 12:27:34AM +0200, Matt Spitz wrote: > The HttpUpstreamModule states that variable values for > $upstream_http_$HEADER are only valid for the last upstream accessed > during a request. I'd like to know if there's a workaround. [...] The $upstream_* variables are c

Logging header values from the first upstream

2013-10-10 Thread Matt Spitz
The HttpUpstreamModule states that variable values for $upstream_http_$HEADER are only valid for the last upstream accessed during a request. I'd like to know if there's a workaround. Specifically, I'm setting (and then clearing) headers in my first upstream to get request-specific information li