nicolas15000 opened a new issue #1555: Is it the right way to load balance couchdb with nginx? URL: https://github.com/apache/couchdb/issues/1555 So i have this 3 machine couchdb cluster working very well . Each are ubuntu 18.0 versions. So now, my goal is to add a 4th machine, with NGINX as a load balancer . I 've edited my following file nginx-config-directory/sites-available/defaut And have added this : ``` upstream couchDbCluster { server 10.1.0.101:5984; server 10.1.0.102:5984; server 10.1.0.103:5984; } location /couchdb { rewrite /couchdb/(.*) /$1 break; proxy_pass http://couchDbCluser; proxy_redirect off; proxy_buffering off; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } ``` Do you think it is the right syntax ? i wonder if one gentle person could tell me if that is the right way to load balance inside my couchdb ? What is strange is that i would like to separate when it is a GET or a PUT for example, and this code doesn't seem to care about this . How could i do faster GET queries ? Do I have to change another file ? Thanks you a lot for your help, have a nice day !
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services