mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Clarify secure scheme header warning in deploy doc
Gunicorn doesn't restrict the X-Forwarded-For header, only the scheme header.
This commit is contained in:
parent
f375f929de
commit
0226b2cd1f
@ -107,9 +107,9 @@ This is to prevent a malicious client from forging these headers::
|
||||
When the Gunicorn host is completely firewalled from the external network such
|
||||
that all connections come from a trusted proxy (e.g. Heroku) this value can
|
||||
be set to '*'. Using this value is **potentially dangerous** if connections to
|
||||
Gunicorn may come from outside the network as clients can use this header to
|
||||
forge the IP address Gunicorn sees, circumventing application rate limits and
|
||||
reporting incorrect addresses in log files.
|
||||
Gunicorn may come from untrusted proxies or directly from clients since the
|
||||
application may be tricked into serving SSL-only content over an insecure
|
||||
connection.
|
||||
|
||||
Using Virtualenv
|
||||
================
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user