Browse Source

Change to match headers in https://github.com/mitsuhiko/werkzeug/blob/master/werkzeug/contrib/fixers.py

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
pull/228/merge
streety 14 years ago committed by Armin Ronacher
parent
commit
1dd83964f0
  1. 2
      docs/deploying/others.rst

2
docs/deploying/others.rst

@ -72,7 +72,7 @@ problematic values in the WSGI environment usually are `REMOTE_ADDR` and
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-Forward-For`::
and the remote address from `X-Forwarded-For`::
from werkzeug.contrib.fixers import ProxyFix
app.wsgi_app = ProxyFix(app.wsgi_app)

Loading…
Cancel
Save