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>
This commit is contained in:
parent
3c7b5a68f1
commit
1dd83964f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue