I don't know nginx at all, but your update to the wiki:

location / {
                proxy_pass http://localhost:5984;
                proxy_redirect off;
                proxy_buffering off;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }

does not seem to do benoits "proxy_buffering off; on _changes path" but rather 
for all pathes? pls ignore me, when I'm wrong :)


On 18.05.2010, at 21:31, Zachary Zolton wrote:

> @Benoît 75 internets to you for the correct answer!
> 
> Seriously, though, thanks a bunch... I'll add this to the wiki page.
> 
> On Tue, May 18, 2010 at 2:25 PM, Benoit Chesneau <[email protected]> wrote:
>> On Tue, May 18, 2010 at 8:57 PM, Zachary Zolton
>> <[email protected]> wrote:
>>> Halp!
>>> 
>>> I've developed an Evently application that I want to be available on
>>> port 80. So, at the suggestion of the mailing list I'm proxying port
>>> 80 to CouchDB via nginx.
>>> 
>>> Unfortunately, the when requesting _changes?feed=continuous via port
>>> 80, the server doesn't respond with anything and times out. Everything
>>> else in the app seems to work fine (i.e. CRUD operations and
>>> authentication). Trying the same continuous changes query on port 5984
>>> works just fine.
>>> 
>>> Hopefully, someone with more awesomeness than I can tell me some nginx
>>> twiddly knobs to try out.
>>> 
>>> 
>>> Thanks guys,
>>> 
>>> Zach
>>> 
>>> 
>>> P.S. Here's my nginx.conf: http://www.friendpaste.com/NvXZVgIT8c97DpMeN7e6b
>>> 
>> 
>>  `proxy_buffering off;` on _changes path  should do the trick.
>> 
>> - benoît
>> 

Reply via email to