docs: `Flask-Uploads, X-Forwarded-Host`

This commit is contained in:
defuz 2014-11-05 07:23:47 +03:00
parent 06d9a5e738
commit 17eee81da0
5 changed files with 9 additions and 9 deletions

View file

@ -104,8 +104,8 @@ localhost at port 8000, setting appropriate headers:
}
If your httpd is not providing these headers, the most common setup invokes the
host being set from `X-Forwarded-Host` and the remote address from
`X-Forwarded-For`::
host being set from ``X-Forwarded-Host`` and the remote address from
``X-Forwarded-For``::
from werkzeug.contrib.fixers import ProxyFix
app.wsgi_app = ProxyFix(app.wsgi_app)