proxy_set_header concatenated value

Francis Daly francis at daoine.org
Tue Aug 11 07:42:50 UTC 2015


On Mon, Aug 10, 2015 at 11:24:00PM -0700, Igal @ Lucee.org wrote:

Hi there,

> I want to pass the following header to the backend server:   
> 
>     name: X-Original-URL
>     value: $scheme://$host$request_uri
> 
> but the concatenation of the values for the value above do not seem to work.

Why do you think it does not work?

> how can I do that?

  proxy_set_header X-Original-URL $scheme://$host$request_uri;

works for me.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list