summaryrefslogtreecommitdiffstats
path: root/roles/varnish/templates/varnish.f25.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/varnish/templates/varnish.f25.j2')
-rw-r--r--roles/varnish/templates/varnish.f25.j236
1 files changed, 36 insertions, 0 deletions
diff --git a/roles/varnish/templates/varnish.f25.j2 b/roles/varnish/templates/varnish.f25.j2
new file mode 100644
index 000000000..a21a5aff5
--- /dev/null
+++ b/roles/varnish/templates/varnish.f25.j2
@@ -0,0 +1,36 @@
+# Varnish environment configuration description. This was derived from
+# the old style sysconfig/defaults settings
+
+# Set this to 1 to make systemd reload try to switch VCL without restart.
+RELOAD_VCL=1
+
+# Main configuration file. You probably want to change it.
+VARNISH_VCL_CONF=/etc/varnish/default.vcl
+
+# Default address and port to bind to. Blank address means all IPv4
+# and IPv6 interfaces, otherwise specify a host name, an IPv4 dotted
+# quad, or an IPv6 address in brackets.
+# VARNISH_LISTEN_ADDRESS=192.168.1.5
+VARNISH_LISTEN_PORT=80
+
+# Admin interface listen address and port
+VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
+VARNISH_ADMIN_LISTEN_PORT=6082
+
+# Shared secret file for admin interface
+VARNISH_SECRET_FILE=/etc/varnish/secret
+
+# Backend storage specification, see Storage Types in the varnishd(5)
+# man page for details.
+{% if varnish_group = 'kojipkgs' %}
+VARNISH_STORAGE="malloc,72GB"
+{% elif varnish_group = 's390kojipkgs' %}
+VARNISH_STORAGE="file,/var/lib/varnish/varnish_storage.bin,20G"
+{% endif %}
+
+# User and group for the varnishd worker processes
+VARNISH_USER=varnish
+VARNISH_GROUP=varnish
+
+# Other options, see the man page varnishd(1)
+#DAEMON_OPTS="-p thread_pool_min=5 -p thread_pool_max=500 -p thread_pool_timeout=300"