]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: enable nginx cache correctly
authorGrant Slater <github@firefishy.com>
Wed, 27 Mar 2024 17:13:06 +0000 (17:13 +0000)
committerGrant Slater <github@firefishy.com>
Wed, 27 Mar 2024 17:13:06 +0000 (17:13 +0000)
roles/ironbelly.rb

index 6363bdfd6bc91f5e7a597418b56a640243c9127d..4d3c83a747260f6be2195cc5648d77a6b59bb6a7 100644 (file)
@@ -67,11 +67,13 @@ default_attributes(
     }
   },
   :nginx => {
-    :proxy => {
-        :enable => true,
-        :keys_zone => "proxy_cache_zone:256M",
-        :inactive => "180d",
-        :max_size => "51200M"
+    :cache => {
+      :proxy => {
+          :enable => true,
+          :keys_zone => "proxy_cache_zone:256M",
+          :inactive => "180d",
+          :max_size => "51200M"
+      }
     }
   },
   :rsyncd => {