X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/5b3255591fe355642dcb2278831a394b2755019b..48b9c97a05f498dfd2b0b99a0328da4622c317b5:/roles/tilecache.rb diff --git a/roles/tilecache.rb b/roles/tilecache.rb index adce84808..ac17511a0 100644 --- a/roles/tilecache.rb +++ b/roles/tilecache.rb @@ -16,7 +16,13 @@ default_attributes( :tcp_fastopen_key => "tile" }, :nginx => { - :access_log => false + :access_log => false, + :cache => { + :proxy => { + :enable => true, + :keys_zone => "proxy_cache_zone:64M", + } + } }, :sysctl => { :sockets => { @@ -40,7 +46,7 @@ default_attributes( :network_local_port_range => { :comment => "Increase available local port range", :parameters => { - "net.ipv4.ip_local_port_range" => "4096 64000" + "net.ipv4.ip_local_port_range" => "1024\t65000" } }, :kernel_tfo_listen_enable => {