My first guess would be that this is related to most browsers not allowing cross-site scripting. But looking at the log, the request actually takes place..
You want to make sure, not only to proxy one-way, but also to reverse-proxy. (that made all the difference for me proxying on apache2) Perhaps you should check the javascript-error-console and see if there is anything there. Does manually retrieving the list of databases work? http://127.0.0.1:5984/_all_dbs If so, the error has to do with proxying and cross-site-scripting security of the browser. Greetings, Ralf 2008/4/17, Benoit Chesneau <[EMAIL PROTECTED]>: > On Thu, Apr 17, 2008 at 10:20 AM, Benoit Chesneau <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I would like to use couchdb (last trunk) behind nginx so I use this > > configuration : > > server { > > listen 80; > > server_name couchdb; > > location / { > > proxy_pass http://127.0.0.1:5984; > > proxy_redirect off; > > proxy_set_header Port $proxy_port; > > proxy_set_header X-Real-IP $remote_addr; > > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > > } > > } > > > > But it doesn't work. I can access to futon, and other pages, but db > > aren't listed and basically I can't do anything on the db. Same result > > whe I use a python script that acess to couchdb via nginx. Is there > > something I missed ? It's really weird anyway. > > > > - benoît > > > > > couchdb logs : > > http://www.friendpaste.com/xKYcgNLJ > > -- > - benoît >
