.TH "DAPHNE" "1" .SH "NAME" daphne \(em Django HTTP/WebSocket server .SH "SYNOPSIS" .PP \fBdaphne\fR [\fB-h\fP] [\fB-p \fIPORT\fR\fP] [\fB-b \fIHOST\fR\fP] [\fB\-\-websocket_timeout \fIWEBSOCKET_TIME_OUT\fR\fP] [\fB\-\-websocket_connect_timeout \fIWEBSOCKET_CONNECT_TIMEOUT\fR\fP] [\fB-u \fIUNIX_SOCKET\fR\fP] [\fB\-\-fd \fIFILE_DESCRIPTOR\fR\fP] [\fB-e \fISOCKET_STRINGS\fR\fP] [\fB-v \fIVERBOSITY\fR\fP] [\fB-t \fIHTTP_TIMEOUT\fR\fP] [\fB\-\-access-log \fIACCESS_LOG\fR\fP] [\fB\-\-ping-interval \fIPING_INTERVAL\fR\fP] [\fB\-\-ping-timeout \fIPING_TIMEOUT\fR\fP] [\fB\-\-application-close-timeout \fISECONDS>\fR\fP] [\fB\-\-ws-protocol \fIWS_PROTOCOLS [WS_PROTOCOLS ...]\fR\fP] [\fB\-\-root-path \fIROOT_PATH\fR\fP] [\fB\-\-proxy-headers\fP] [channel_layer] .SH "DESCRIPTION" .PP This manual page documents briefly the \fBdaphne\fR command. .PP This manual page was written for the \fBDebian\fP distribution because the original program does not have a manual page. .PP \fBdaphne\fR is a program that manages the Celery Worker Daemons and their queues. .SH "OPTIONS" .PP This program follows the usual GNU command line syntax, with long options starting with two dashes (`\-'). A summary of options is included below. .IP " \fB-h\fP \fB\-\-help\fP " 10 Show help message and exit. .IP " \fB-p \fIPORT\fR\fP \fB\-\-port \fIPORT\fR\fP " 10 Port number to listen on. .IP " \fB-b \fIHOST\fR\fP \fB\-\-bind \fIHOST\fR\fP " 10 The host/address to bind to. .IP " \fB\-\-websocket_timeout \fIWEBSOCKET_TIMEOUT\fR\fP " 10 Maximum time to allow a websocket to be connected. \-1 for infinite. .IP " \fB\-\-websocket_connect_timeout \fIWEBSOCKET_CONNECT_TIMEOUT\fR\fP " 10 Maximum time to allow a connection to handshake. \-1 for infinite. .IP " \fB-u \fIUNIX_SOCKET\fR\fP \fB\-\-unix-socket \fIUNIX_SOCKET\fR\fP " 10 Bind to a UNIX socket rather than a TCP host/port. .IP " \fB\-\-fd \fIFILE_DESCRIPTOR\fR\fP " 10 Bind to a file descriptor rather than a TCP host/port or named unix socket. .IP " \fB-e \fISOCKET_STRINGS\fR\fP \fB\-\-endpoint \fISOCKET_STRINGS\fR\fP " 10 Use raw server strings passed directly to twisted. .IP " \fB-v \fIVERBOSITY\fR\fP \fB\-\-verbosity \fIVERBOSITY\fR\fP " 10 How verbose to make the output. .IP " \fB-t \fIHTTP_TIMEOUT\fR\fP \fB\-\-http-timeout \fIHTTP_TIMEOUT\fR\fP " 10 How long to wait for worker server before timing out HTTP connections. .IP " \fB\-\-access-log \fIACCESS_LOG\fR\fP " 10 Where to write the access log (\- for stdout, the default for verbosity=1). .IP " \fB\-\-ping-interval \fIPING_INTERVAL\fR\fP " 10 The number of seconds a WebSocket must be idle before a keepalive ping is sent. .IP " \fB\-\-ping-timeout \fIPING_TIMEOUT\fR\fP " 10 The number of seconds before a WebSocket is closed if no response to a keepalive ping. .IP " \fB\-\-application-close-timeout \fISECONDS\fR\fP " 10 The number of seconds an ASGI application has to exit after client disconnect before it is killed (Default: 10). .IP " \fB\-\-ws-protocol \fIWS_PROTOCOLS [WS_PROTOCOLS]\fR\fP " 10 The WebSocket protocols you wish to support. .IP " \fB\-\-root-path \fIROOT_PATH\fR\fP " 10 The setting for the ASGI root_path variable. .IP " \fB\-\-proxy-headers\fP " 10 Enable parsing and using of X-Forwarded-For and X-Forwarded-Port headers and using that as the client address. .SH "ARGUMENTS" .IP "channel_layer" 10 The ASGI channel layer instance to use as path.to.module:instance.path. .SH "AUTHOR" .PP This manual page was written by fladi fladi@debian.org for the \fBDebian\fP system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. .\" created by instant / docbook-to-man