summaryrefslogtreecommitdiffstats
path: root/main/varnish/varnishd.confd
blob: 354247fc745a85f50f577caa79ffdf2bd74b864e (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
# /etc/conf.d/varnishd


# Varnish configuration file
# VARNISH_CONF="/etc/varnish/default.vcl"

VARNISH_SECRET_FILE="/etc/varnish/secret"

# Varnish address
VARNISH_LISTEN_ADDRESS=
VARNISH_PORT=8080

# Varnish storage
VARNISH_STORAGE_FILE="/var/cache/varnish/varnish_storage.bin"
VARNISH_STORAGE_SIZE=50M
VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
# VARNISH_STORAGE="malloc,${VARNISH_STORAGE_SIZE}"

# Varnish admin
ADMINHOSTPORT="127.0.0.1:65080"

# If maxminddb.vcl is included, this adds the proper library support
# VARNISHD_PLUGIN_CFLAGS="-lmaxminddb"

# options passed to varnish on startup
# please see the varnishd man page for more options
VARNISHD_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_PORT} -s ${VARNISH_STORAGE} -T $ADMINHOSTPORT"

# arguments passed to varnishncsa
# please see the varnishncsa man page for more options
VARNISHNCSA_ARGS="-c -a -w /var/log/varnish/${SVCNAME}.log"