Package: gunicorn3
Version: 19.9.0-1
Severity: important

Hello,

thanks for packaging gunicorn.

I am using gunicorn to deploy a tornado server using the tornado worker.
Deployment is behind a proxy, so I need to activate xheaders in the
tornado httpserver[1], and use --forwarded-allow-ips in gunicorn.

In workers/gtornado.py, however, I see no way to set xheaders=True in
the created tornado httpserver. This seems odd because in the traceback
in this link there seems to be or have been code for it:
https://github.com/benoitc/gunicorn/issues/783

I'll now try to explore workarounds, as this is making it impossible to
deploy a tornado server with gunicorn behind a proxy :/

Enrico

[1] https://www.tornadoweb.org/en/stable/httpserver.html#http-server


-- System Information:
Debian Release: 10.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gunicorn3 depends on:
ii  python3           3.7.3-1
ii  python3-gunicorn  19.9.0-1

gunicorn3 recommends no packages.

Versions of packages gunicorn3 suggests:
pn  gunicorn-examples     <none>
pn  python3-pastedeploy   <none>
ii  python3-setproctitle  1.1.10-1+b2
ii  python3-tornado       5.1.1-4

-- no debconf information

Reply via email to