Varnish vs Nginx configuration added

This commit is contained in:
Anton Sannikov
2019-10-31 16:02:33 +03:00
parent babfef7ef6
commit 2af7bfa60f
9 changed files with 451 additions and 14 deletions

View File

@ -7,6 +7,14 @@ do
sed -i "s|\${${name}}|${value}|g" /etc/varnish/default.vcl
done
echo "exec varnishd \
-a :$VARNISH_PORT \
-T localhost:6082 \
-F \
-f $VARNISH_CONFIG \
-s malloc,$CACHE_SIZE \
$VARNISHD_PARAMS"
exec bash -c \
"exec varnishd \
-a :$VARNISH_PORT \