14👍
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
5👍
One option is to use Apache httpd server with mod_wsgi. Apache supports terminating HTTP/2. The link to your Django application is still via WSGI API so you don’t really get any access to HTTP/2 specific features in your application. You can though configure Apache to do things like server push on your behalf.
- [Django]-Django edit user profile
- [Django]-Detect mobile, tablet or Desktop on Django
- [Django]-Django character set with MySQL weirdness
4👍
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
- [Django]-Django models: mutual references between two classes and impossibility to use forward declaration in python
- [Django]-No URL to redirect to. Either provide a url or define a get_absolute_url method on the Model
- [Django]-How to test Django's UpdateView?
Source:stackexchange.com