Consistent usage of @proxy_to_app named location

This can be confusing since `location / {}` and `location @proxy_to_app {}` were both being used.
This commit is contained in:
Matt Robenolt 2014-05-26 20:24:09 -07:00
parent ca43784e86
commit d7c7c59bdb

View File

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