HTTP2 with gunicorn
Asked Answered
C

1

7

Is it possible to run a Django Application using Gunicorn and HTTP2? Currently we have Nginx in front of our application working as a reverse proxy, but we may drop it in the future, since we are starting to migrate to docker swarm.

I could not find any docs/links regarding configuration of gunicorn with HTTP2. Does anybody knows if it is possible to do it, without using nginx?

If not possible, please suggest other webservers that can achieve that.

Caithness answered 25/5, 2017 at 19:8 Comment(0)
A
3

gunicorn doesn't currently support HTTP/2. There's a tracking issue for it.

You can still use nginx with docker swarm. If you want to dynamically update the configuration, you can use something like docker-proxy

If you want an alternative for use with docker swarm, I can recommend traefik. Although I haven't tried it with HTTP/2, it is meant to work.

Azimuth answered 29/1, 2018 at 13:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.