How to server HTTP/2 Protocol with django

后端 未结 3 1502
Happy的楠姐
Happy的楠姐 2021-02-08 22:23

I am planing to deploy my django project with HTTP/2 protocol but I unable to find the proper way how can I server my django based website with HTTP/2, the only thing that I fi

3条回答
  •  既然无缘
    2021-02-08 23:18

    You can do with Nginx proxy

    if you have existing nginx config. you do by just adding a word .http2 in listen

        listen 443 ssl http2 default_server;
    

    full document avaliable in

    https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-with-http-2-support-on-ubuntu-16-04

提交回复
热议问题