Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1848C8EFC for ; Sun, 11 Sep 2011 13:24:45 +0000 (UTC) Received: (qmail 23406 invoked by uid 500); 11 Sep 2011 13:24:45 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 23344 invoked by uid 500); 11 Sep 2011 13:24:44 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 23337 invoked by uid 500); 11 Sep 2011 13:24:44 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 23334 invoked by uid 99); 11 Sep 2011 13:24:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2011 13:24:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2011 13:24:41 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id D6C80505; Sun, 11 Sep 2011 13:24:20 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Sun, 11 Sep 2011 13:24:20 -0000 Message-ID: <20110911132420.54511.36637@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Update_of_=22Nginx=5FAs=5Fa=5FReverse=5FProx?= =?utf-8?q?y=22_by_DamjanGeorgievski?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for c= hange notification. The "Nginx_As_a_Reverse_Proxy" page has been changed by DamjanGeorgievski: http://wiki.apache.org/couchdb/Nginx_As_a_Reverse_Proxy?action=3Ddiff&rev1= =3D8&rev2=3D9 Comment: there's no evidence that couchdb uses the X-Real-IP header anywhere in the = sources /removed proxy_pass http://localhost:5984; proxy_redirect 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; } }}} @@ -25, +24 @@ 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; } }}} @@ -38, +36 @@ proxy_pass http://localhost:5984; proxy_redirect 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; } }}} @@ -56, +53 @@ proxy_pass http://localhost:5984; proxy_redirect 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; } }}} @@ -80, +76 @@ proxy_pass http://localhost:5984; proxy_redirect 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; proxy_set_header Authorization ""; } @@ -99, +94 @@ proxy_pass http://localhost:5984; proxy_redirect 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; proxy_set_header X-Forwarded-Ssl on; }