Hi, I usually have SSL termination on nginx, or CDN, or Load Balancer. I never need to set SSL on Django or Daphne server. Probably you could try this architecture.
Regards, Aldian Fazrihady On Thu, 2 May 2019, 20:32 BR, <[email protected]> wrote: > I'm running a simple Django/Channels website using Daphne. Traffic will be > relatively low and will likely only see 1-2 clients at a time. I figured > this would be a good use case for Daphne to serve both HTTPS and WebSockets. > > Does Daphne have a mechanism for starting as root and dropping down to a > non-root user after it is running? Root is required at startup because I > want it to bind to port 80 or 443, and it needs to access the SSL > certificate. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/1015c96c-1a20-4372-9de3-3ca6d2347d98%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/1015c96c-1a20-4372-9de3-3ca6d2347d98%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN7EoAZ2644UBmtha-Oq0xXD%2Bt8N7EoT4ssK9MWnbNBomPy3nA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

