-
-
Save nowakpiotrek/04f2b8088b647c29e2dc56adb84790f6 to your computer and use it in GitHub Desktop.
Nopio Ubuntu 14.04 Varnish default file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration file for Varnish Cache. | |
# | |
# /etc/init.d/varnish expects the variables $DAEMON_OPTS, $NFILES and $MEMLOCK | |
# to be set from this shell script fragment. | |
# | |
# Note: If systemd is installed, this file is obsolete and ignored. You will | |
# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and | |
# edit that file. | |
# Should we start varnishd at boot? Set to "no" to disable. | |
START=yes | |
# Maximum number of open files (for ulimit -n) | |
NFILES=131072 | |
# Maximum locked memory size (for ulimit -l) | |
# Used for locking the shared memory log in memory. If you increase log size, | |
# you need to increase this number as well | |
MEMLOCK=82000 | |
DAEMON_OPTS="-a :80 \ | |
-T localhost:6082 \ | |
-f /etc/varnish/default.vcl \ | |
-S /etc/varnish/secret \ | |
-s malloc,256m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment