aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-waitress/waitress.confd
blob: 7d0f62609d60549ca5bf739c75184473c4476b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# YOU SHOULD NOT MODIFY THIS FILE! CREATE A COPY NAMED AFTER THE APPLICATION
# YOU WANT TO RUN AND MODIFY THAT INSTEAD (and remove this notice).

# Python executable to run waitress-serve with.
#python="/usr/bin/python3"

# User to run the application.
#user="nobody"

# Path of the log file to catch stdout/stderr of the process.
logfile="/var/log/$RC_SVCNAME.log"


# Base directory of the application.
#basedir=

# Name of the application's WSGI module (python file typically inside $basedir).
wsgi_module="wsgi"

# Name of attribute in $wsgi_module that contains WSGI object
# or factory function.
#wsgi_object="application"

# Call the given object to get the WSGI application.
#wsgi_call="no"


# Tell waitress to listen on an ip port combination(s).
# Example: listen="127.0.0.1:8080 [::1]:8080 *:8181"
listen_on="*:8080"

# Path of Unix socket. If a socket path is specified, a Unix domain socket is
# made instead of the usual inet domain socket.
#unix_socket_path=

# Octal permissions to use for the Unix domain socket. Default is 600.
#unix_socket_perms=

# Default wsgi.url_scheme value. Default is "http".
#url_scheme=

# The SCRIPT_NAME WSGI environment value.
# Setting this to anything except the empty string will cause the WSGI
# SCRIPT_NAME value to be the value passed minus any trailing slashes you add,
# and it will cause the PATH_INFO of any request which is prefixed with this
# value to be stripped of the prefix. Default is the empty string.
#url_prefix=

# Server identity used in the "Server" header in responses.
# Default is "waitress".
#server_ident=

# Extra options for waitress-serve.
# See https://docs.pylonsproject.org/projects/waitress/en/latest/runner.html.
#waitress_opts=

# Note: If you need to pass some environment variables to the application, set
# start_stop_daemon_args="--env FOO=bar --env BAZ=qux"