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

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

minify - Minimizing css files -

php - How to remove letter in front of the word laravel -