From: Grant Slater Date: Mon, 30 Sep 2024 10:46:58 +0000 (+0100) Subject: Add missing imagery attributes X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ea154b090ca0e115b1e160e4e243a01a1b9f4085?ds=sidebyside Add missing imagery attributes --- diff --git a/cookbooks/imagery/attributes/default.rb b/cookbooks/imagery/attributes/default.rb new file mode 100644 index 000000000..1dc162ac3 --- /dev/null +++ b/cookbooks/imagery/attributes/default.rb @@ -0,0 +1,2 @@ +default[:accounts][:users][:imagery][:status] = :role +default[:nginx][:cache][:proxy][:enable] = true diff --git a/roles/lockheed.rb b/roles/lockheed.rb index b03347148..8f42973e6 100644 --- a/roles/lockheed.rb +++ b/roles/lockheed.rb @@ -28,6 +28,16 @@ default_attributes( } } } + }, + :nginx => { + :cache => { + :proxy => { + :enable => true, + :keys_zone => "proxy_cache_zone:256M", + :inactive => "180d", + :max_size => "51200M" + } + } } )