Answer the question
In order to leave comments, you need to log in
How to deploy Django channels to VDS?
My Django application consists of both regular http requests and sockets
. Stack used:
1) Ubuntu 18.04
2) Django 4
3) Channels
4) Gunicorn
5) NGINX
6) Systemd
How to properly deploy all this to the server?
I read the documentation on the channels deployment, it says about some kind of daphne , what is it? Is it a replacement for NGINX? So I didn't understand. Is it possible to use daphne with NGINX?
Answer the question
In order to leave comments, you need to log in
Daphne is a Gunicorn replacement. Deployment is described in the Channels documentation step by step.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question