#4520 (Using daphne to serve websockets.)
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Summary
Example usage of daphne behind nginx: stackoverflow.com/questions/50792452/using-daphne-behind-nginx
Children
- #4617 (Daphne/ASGI getlino config.) (by Sharif Mehedi in Developers assigned to Sharif Mehedi)
- #4671 (Jane does not send email notifications immediately) (by Luc Saffre in Hosting (system administration) assigned to Luc Saffre)
Comments
- 4 years ago by Luc Saffre about #4520 (Using daphne to serve websockets.) : Sharif will update [url hosting.lino-framework.org/install/] so that it says nginx is recommended. Getlino doesn't yet handle Apache integration well, you will need manual tweaking.
- 4 years, 1 month ago by Luc Saffre about #4520 (Using daphne to serve websockets.) : On Jane we will update the nginx config files, but only when Sharif has updated the new version of getlino startsite.
- 4 years, 2 months ago by Sharif Mehedi about #4520 (Using daphne to serve websockets.) : Apache does not have a ASGI implementation. So, we can run daphne under nginx or directly.
- 4 years, 2 months ago by Sharif Mehedi about #4520 (Using daphne to serve websockets.) : supervisor fcgi-program [url supervisord.org/configuration.html#fcgi-program-x-section-values documentation].
- 4 years, 2 months ago by Sharif Mehedi about #4520 (Using daphne to serve websockets.) : Guidelines from channels, [url channels.readthedocs.io/en/stable/deploying.html#nginx-supervisor-ubuntu here].