From d7c7c59bdbc1624f249fedf55d4af0e97fd58447 Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Mon, 26 May 2014 20:24:09 -0700 Subject: [PATCH] Consistent usage of `@proxy_to_app` named location This can be confusing since `location / {}` and `location @proxy_to_app {}` were both being used. --- docs/source/deploy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/deploy.rst b/docs/source/deploy.rst index da537e2d..152f1309 100644 --- a/docs/source/deploy.rst +++ b/docs/source/deploy.rst @@ -77,7 +77,7 @@ To turn off buffering, you only need to add ``proxy_buffering off;`` to your ``location`` block:: ... - location / { + location @proxy_to_app { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off;