Welcome! Log In Create A New Profile

Advanced

Re: How to save into variable proxy header response?

April 20, 2014 05:29AM
I have tryeid to do something like this but it seems that variable $upstream_http_content_disposition is empty.. when I want to redirect to different url..

proxy_pass http://www.domainresultget.com;
set $x $upstream_http_content_disposition;
return 301 http://domaintest.com/test.php?x=$x;

variable $x is empty..
SubjectAuthorPosted

How to save into variable proxy header response?

google000April 19, 2014 01:49PM

Re: How to save into variable proxy header response?

Maxim DouninApril 19, 2014 03:38PM

Re: How to save into variable proxy header response?

google000April 20, 2014 05:29AM

Re: How to save into variable proxy header response?

google000April 20, 2014 11:38AM

Re: How to save into variable proxy header response?

Maxim DouninApril 21, 2014 06:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 56
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready