| | 77 | |
| | 78 | Edit these things in the main config file, /etc/default/varnish : |
| | 79 | |
| | 80 | {{{ |
| | 81 | #DAEMON_OPTS="-a :6081 \ |
| | 82 | # -T localhost:6082 \ |
| | 83 | # -f /etc/varnish/default.vcl \ |
| | 84 | # -S /etc/varnish/secret \ |
| | 85 | # -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G" |
| | 86 | |
| | 87 | DAEMON_OPTS="-a :80 \ |
| | 88 | -T localhost:81 \ |
| | 89 | -f /etc/varnish/default.vcl \ |
| | 90 | -S /etc/varnish/secret \ |
| | 91 | -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,256M" |
| | 92 | }}} |
| | 93 | |
| | 94 | Make it listen on port 80 and have 256M RAM and also have the management interface on port 81, apache need it's configuration changing so it listens on port 8080. |