How to save into variable proxy header response?

google000 nginx-forum at
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..

set $x $upstream_http_content_disposition;
return 301$x;

variable $x is empty..

Posted at Nginx Forum:,249402,249405#msg-249405

More information about the nginx mailing list