couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Nginx_As_a_Reverse_Proxy" by DamjanGeorgievski
Date Sun, 11 Sep 2011 13:24:20 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Nginx_As_a_Reverse_Proxy" page has been changed by DamjanGeorgievski:
http://wiki.apache.org/couchdb/Nginx_As_a_Reverse_Proxy?action=diff&rev1=8&rev2=9

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;
  }

Mime
View raw message