Files
gerrit/Documentation
Piotr Sikora 2e6a4ae7b2 "Better" nginx configuration.
1) Use "review" subdomain instead of "reviews" to be consistent with
   rest of the documentation.
2) Remove "/r/" from proxy_pass, because it isn't needed.
3) Remove "X-Real-IP" header, because it's ignored by Jetty anyway.
4) Use $remote_addr in "X-Forwarder-For". $proxy_add_x_forwarded_for
   isn't secure, because it is based on client's input and should be
   used only internally in proxy chains and not on the edge.
5) Use $host variable instead of $http_host, to make it work with
   HTTP/1.0 requests.

Change-Id: I01755e860e32f67469091b4f2b8368ee9a2cea89
Signed-off-by: Piotr Sikora <piotr.sikora@frickle.com>
2011-04-21 17:47:43 +00:00
..
2010-10-15 13:17:07 -07:00
2010-08-10 08:00:48 -06:00