FYI: How to do secondary indexing with Riak behind Nginx
jlangevin at loomlearning.com
Fri Oct 7 17:14:31 EDT 2011
My understanding is the same as Alexander's. While I love nginx, I'll not be
using it to proxy Riak until HTTP 1.1 is sorted out.*
Manager, Information Technology
Wilmington, NC: (910) 241-0433 - jlangevin at loomlearning.com -
www.loomlearning.com - Skype: intel352
On Thu, Oct 6, 2011 at 9:49 AM, Alexander Sicular <siculars at gmail.com>wrote:
> 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>
> > Howdy,
> > = 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;
> > /mårten.
> >  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
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users