mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
8 lines
161 B
Python
8 lines
161 B
Python
from gunicorn.config import Config
|
|
from gunicorn.http.errors import InvalidProxyLine
|
|
|
|
cfg = Config()
|
|
cfg.set('proxy_protocol', True)
|
|
|
|
request = InvalidProxyLine
|