I access it through nginx, but this worked perfectly until I updated
couchdb. The nginx config looks like this:
upstream db {
server 127.0.0.1:5984;
}
server {
listen 80;
server_name my_domain.com;
location / {
proxy_pass http://db;
auth_basic "Restricted area";
auth_basic_user_file /path_to_password_file/.htpasswd;
break;
}
}
Here are the headers from Firefox:
Response Headers
Transfer-Encoding chunked
Date Wed, 23 Apr 2008 16:00:36 GMT
Content-Type text/plain;charset=utf-8
Server nginx/0.5.26
Content-Encoding gzip
Request Headers
Host db.kle.io
User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X; nb-NO; rv:
1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Accept text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language nb,no;q=0.8,nn;q=0.6,en-us;q=0.4,en;q=0.2
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Authorization Basic c2ViYXN0aWFuOnNlYmJhODU=
Best regards
Sebastian
On Apr 23, 2008, at 2:15 PM, Benoit Chesneau wrote:
On Wed, Apr 23, 2008 at 6:10 PM, Guby <[EMAIL PROTECTED]> wrote:
It is when I access the couchdb server from my local machine using
safari
and firefox that I get the strange output. That never happened
before! I
haven't changed my nginx setup or config either.
do you access directly to couch or via nginx ? do you have a way to
check header you get from the server response ? if yes , could you
paste it here ?
- benoƮt