How to server HTTP/2 Protocol with django

后端 未结 3 1501
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:17

    To support HTTP 2.0, You can deploy Django apps on web servers like Daphne using ASGI (which is the spiritual successor to WSGI).

    you can read more about deploying Django with ASGI in the official documentaion

    to read more about ASGI and what is it, introduction to ASGI
    to read more about Daphne server, official repository

提交回复
热议问题