Re: Response header from fcgi server

2014-09-17 Thread Francis Daly
On Wed, Sep 17, 2014 at 05:42:18PM +0300, wishmaster wrote: > > What two requests would lead to upstream sending content with a different > > language? Use whatever is different in those requests in your cache key. > > At this time cache key uses $cookie_language, this works as expected. But I

Re[2]: Response header from fcgi server

2014-09-17 Thread wishmaster
--- Original message --- From: "Francis Daly" Date: 17 September 2014, 17:29:43 > On Wed, Sep 17, 2014 at 05:22:14PM +0300, wishmaster wrote: > > Hi there, > > > My problem is still actual. > > I am attempting to use http header from fastcgi server as part of cache key. > > $upstream

Re: Response header from fcgi server

2014-09-17 Thread Francis Daly
On Wed, Sep 17, 2014 at 05:22:14PM +0300, wishmaster wrote: Hi there, > My problem is still actual. > I am attempting to use http header from fastcgi server as part of cache key. > $upstream_http_x_language contains value, but empty in cache key How should that work? A request comes in to

Re[3]: Response header from fcgi server

2014-09-17 Thread wishmaster
--- Original message --- From: "wishmaster" Date: 17 September 2014, 10:21:03 > > > > --- Original message --- > From: "Francis Daly" > Date: 17 September 2014, 10:06:47 > > > > > On Wed, Sep 17, 2014 at 08:49:36AM +0300, wishmaster wrote: > > > > Hi there, > > > > > PHP-appli

Re[2]: Response header from fcgi server

2014-09-17 Thread wishmaster
--- Original message --- From: "Francis Daly" Date: 17 September 2014, 10:06:47 > On Wed, Sep 17, 2014 at 08:49:36AM +0300, wishmaster wrote: > > Hi there, > > > PHP-application sends response with HTTP header X-Language and I need pass > > this to nginx. > > With Firebug I see this

Re: Response header from fcgi server

2014-09-17 Thread Francis Daly
On Wed, Sep 17, 2014 at 08:49:36AM +0300, wishmaster wrote: Hi there, > PHP-application sends response with HTTP header X-Language and I need pass > this to nginx. > With Firebug I see this header, but variable $http_x_language or > $sent_http_x_language is empty. > > What I am doing wrong?

Re: Response header from fcgi server

2014-09-16 Thread wishmaster
  --- Original message --- From: "wishmaster" Date: 17 September 2014, 08:49:51 > Hi, > > PHP-application sends response with HTTP header X-Language and I need pass > this to nginx. > With Firebug I see this header, but variable $http_x_language or > $sent_http_x_language is empty. > >

Response header from fcgi server

2014-09-16 Thread wishmaster
Hi, PHP-application sends response with HTTP header X-Language and I need pass this to nginx. With Firebug I see this header, but variable $http_x_language or $sent_http_x_language is empty. What I am doing wrong? ___ nginx mailing list nginx@nginx