How to save into variable proxy header response?

google000 nginx-forum at nginx.us
Sun Apr 20 09:29:10 UTC 2014


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..

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249402,249405#msg-249405



More information about the nginx mailing list