Changes between Version 57 and Version 58 of DevelopmentServer


Ignore:
Timestamp:
06/24/11 11:49:46 (5 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentServer

    v57 v58  
    7575aptitude install varnish 
    7676}}} 
     77 
     78Edit 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 
     87DAEMON_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 
     94Make 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. 
    7795 
    7896