mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fixes #1695
This commit is contained in:
parent
b83448bfb4
commit
917ebcdd57
@ -38,6 +38,22 @@ To turn off buffering, you only need to add ``proxy_buffering off;`` to your
|
||||
}
|
||||
...
|
||||
|
||||
If you want to ignore aborted requests like health check of Load Balancer, some
|
||||
of which close the connection without waiting for a response, you need to turn
|
||||
on ignoring client abort.
|
||||
|
||||
To ignore aborted requests, you only need to add
|
||||
``proxy_ignore_client_abort on;`` to your ``location`` block::
|
||||
|
||||
...
|
||||
proxy_ignore_client_abort on;
|
||||
...
|
||||
|
||||
.. note::
|
||||
The default value of ``proxy_ignore_client_abort`` is ``off``. Error code
|
||||
499 may appear in Nginx log and ``Ignoring EPIPE`` may appear in Gunicorn
|
||||
log if loglevel is set to ``debug``.
|
||||
|
||||
It is recommended to pass protocol information to Gunicorn. Many web
|
||||
frameworks use this information to generate URLs. Without this
|
||||
information, the application may mistakenly generate 'http' URLs in
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user