conf par défaut
This commit is contained in:
parent
4a3ee69453
commit
969a1be594
|
@ -39,8 +39,14 @@ Pour modifier la configuration, on copie l'unité Systemd :
|
|||
Puis l'on personnalise la configuration via `/etc/systemd/system/varnish.service` (ne pas oublier de `systemctl daemon-reload` à chaque modification) :
|
||||
|
||||
~~~
|
||||
ExecStart=/usr/sbin/varnishd -F -a 0.0.0.0:80 -T localhost:6082 -f /etc/varnish/default.vcl \
|
||||
-S /etc/varnish/secret -s malloc,2G \
|
||||
ExecStart=/usr/sbin/varnishd \
|
||||
-j unix,user=vcache \
|
||||
-F \
|
||||
-a 0.0.0.0:80 \
|
||||
-T localhost:6082 \
|
||||
-f /etc/varnish/default.vcl \
|
||||
-S /etc/varnish/secret \
|
||||
-s malloc,256m
|
||||
-p thread_pools=<Nombre de cores CPU> -p thread_pool_add_delay=2 -p thread_pool_min=500 -p thread_pool_max=5000
|
||||
~~~
|
||||
|
||||
|
|
Loading…
Reference in a new issue