summaryrefslogtreecommitdiff
path: root/user/apaste/apasted.confd
blob: df57ce12105419c101863d36d12604d09c0e989c (plain) (blame)
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
# apasted configuration

# The IPs you want the apasted server to listen on.
# Comment to disable.
APASTED_IPv4=0.0.0.0
APASTED_IPv6=::

# The ports for plaintext service and TLS-tunneled service.
# Comment to disable.
APASTED_PORT=9999
# APASTED_TLS_PORT=9997

# If APASTED_TLS_PORT is present, KEYFILE should point to
# your private key, and CERTFILE should point to your certificate.
# KEYFILE=
# CERTFILE=

# Where the pastes are stored. Make sure this directory exists
# and is writable by the apasted user.
APASTED_ROOT=/var/tmp/apaste

# If you want a prefix for the slugs.
# APASTED_PREFIX=

# Maximum number of client files stored at once. Default is 10.
# APASTED_MAXFILES=10

# Maximum client file size, in bytes. Default is 1048576 (1 MB).
# APASTED_MAXSIZE=1048576

# Maximum total size of a transaction, in bytes. Default is 10485760 (10 MB).
# APASTED_MAXTOTALSIZE=10485760