Commit 29591f85 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

apache-frontend: squid uses disk cache

parent 8a62b7bc
......@@ -139,7 +139,7 @@ mode = 640
[template-squid-configuration]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/squid.conf.jinja2
md5sum = 9f70474181372d34c8cd203f24ab546e
md5sum = 484fee19b2ca102f2baf3bd04893dd2c
mode = 640
[template-empty]
......
......@@ -23,6 +23,8 @@ header_replace X-Forwarded-For
follow_x_forwarded_for allow all
forwarded_for on
cache_dir aufs {{ cache_path }} 5000 16 256
# Use 1Go of RAM
cache_mem 1024 MB
# But do not keep big object in RAM
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment