Input Headers. - headers_more_module.

David | StyleFlare david at styleflare.com
Thu Aug 30 17:12:25 UTC 2012


I am trying to figure out what I dont see request headers added to the 
request.

I am trying to add 'X-Server-ID: $id'

Here is a snippet form my config.

location /{
     more_set_input_headers 'X-Server-ID: $id';
     more_set_headers 'X-Server-ID: $id';

     uwsgi_pass://upstream;
}


I see X-Server-ID sent in the response headers, but my upstream 
application does not seem to get the Header Variable.

I am not sure what I am doing wrong here. I read the docs here for 
explanation, but I cant seem to figure it out.
http://wiki.nginx.org/HttpHeadersMoreModule
and
http://wiki.nginx.org/HttpUwsgiModule#Parameters_transferred_to_uWSGI-server.

Thanks in advance for any help.




More information about the nginx mailing list