Yes you can.
daphne -e ssl:443:privateKey=key.pem:certKey=crt.pem 
django_project.asgi:channel_layer

For more info look at the Daphne GitHub repo https://github.com/django/daphne/

But I would suggest run Nginx in front of the Daphne which will handle SSL.

-- 
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/1026005f-8cb3-4282-a789-a3baa8feac4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to