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..
Subject Author Posted

How to save into variable proxy header response?

google000 April 19, 2014 01:49PM

Re: How to save into variable proxy header response?

Maxim Dounin April 19, 2014 03:38PM

Re: How to save into variable proxy header response?

google000 April 20, 2014 05:29AM

Re: How to save into variable proxy header response?

google000 April 20, 2014 11:38AM

Re: How to save into variable proxy header response?

Maxim Dounin April 21, 2014 06:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 53
Record Number of Users: 5 on July 11, 2016
Record Number of Guests: 271 on July 19, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready