HTTP2 with weapons

Is it possible to run a Django app using Gunicorn and HTTP2? We currently have Nginx in front of our application running as a reverse proxy, but we may drop it in the future as we start migrating to the docker road.

I couldn't find any docs / links regarding gunicorn config with HTTP2. Does anyone know if this can be done without using nginx?

If this is not possible, ask other web servers that can do this.

+3


source to share


1 answer


gunicorn does not currently support HTTP / 2. There's tracking for him.

You can use nginx with docker. If you want to dynamically update the config you can use something like docker-proxy



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

0


source







All Articles