varnish base config, crude

This commit is contained in:
Udo Waechter
2014-11-04 12:53:37 +01:00
parent 97051928e2
commit 22680a3510
4 changed files with 169 additions and 9 deletions

View File

@@ -0,0 +1,16 @@
####### PUPPET MANAGED #######################
# Configuration file for varnishncsa
#
# Note: If systemd is installed, this file is obsolete and ignored. You will
# need to copy /lib/systemd/system/varnishncsa.service to /etc/systemd/system/
# and edit that file.
#
# Uncomment this to enable logging for varnish. Please make sure you have
# enough disk space for significant amounts of log data. To disable logging,
# set the variable to "0", "no", or leave it unset.
#
FORMAT="%{Host}i %h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\" %{Varnish:time_firstbyte}x %{Varnish:hitmiss}x %{Varnish:handling}x %{X-Varnish}o"
#FORMAT="%{X-Varnish}o %{Varnish:handling}x %D"
DAEMON_OPTS="-a -w ${LOGFILE} -D -P ${PIDFILE}"
# NCSA log format, to be used by HTTP log analyzers
VARNISHNCSA_ENABLED=1