FYI: How to do secondary indexing with Riak behind Nginx
siculars at gmail.com
Thu Oct 6 09:49:40 EDT 2011
That aside, I thought there were other reasons for not using nginx in front
of riak. Http 1.0 vs http 1.1 support. For that reason I front Riak with
Sent from my rotary phone.
On Oct 6, 2011 9:32 AM, "Mårten Gustafson" <marten.gustafson at gmail.com>
> = Background
> During the Riak 1.0 webinar I played around with Nginx and encountered
> a problem with secondary indexing when accessing Riak (over HTTP)
> through Nginx. I had a quick chat with Sean about it on IRC and
> then I forgot it. The problem is that Nginx won't handle header names
> with underscores "properly".
> AFAICT it's perfectly legal with underscores in headers according to
> RFC 2616, I also found a discussion on StackOverflow that came
> to the same conclusion.
> = Solution
> In your nginx.conf in the relevant server-section add the following:
> underscores_in_headers on;
>  http://irclogger.com/.riak/2011-09-21 @ 14:33
>  http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users