Django Channels Nginx production -
i have django project , added channels use websockets. seems work fine, problem have production ready.
my setup follows:
nginx web server gunicorn django ssl enabled
since have added channels mix. have spent last day trying work.
on turtotials run daphne on port show how setup nginx that.
but having gunicorn serving django?
so have guncorn running django app on 8001
if run daphne on port, lets 8002 - how should know par of django project? , run workers?
should gunicorn, daphne , runworkers run together?
Comments
Post a Comment