Fixed small typos in docs. Added a cross-ref.

This commit is contained in:
Ron DuPlain 2010-10-06 14:05:35 +08:00 committed by Armin Ronacher
parent 216478f715
commit 6875a057ec
19 changed files with 27 additions and 27 deletions

View file

@ -69,10 +69,10 @@ If you deploy your application behind an HTTP proxy you will need to
rewrite a few headers in order for the application to work. The two
problematic values in the WSGI environment usually are `REMOTE_ADDR` and
`HTTP_HOST`. Werkzeug ships a fixer that will solve some common setups,
but you might want to write your own WSGI middlware for specific setups.
but you might want to write your own WSGI middleware for specific setups.
The most common setup invokes the host being set from `X-Forwarded-Host`
and the remote address from `X-Forwared-For`::
and the remote address from `X-Forward-For`::
from werkzeug.contrib.fixers import ProxyFix
app.wsgi_app = ProxyFix(app.wsgi_app)