]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
aem - Add filter
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 8 Feb 2016 13:46:53 +0000 (14:46 +0100)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 8 Feb 2016 13:46:53 +0000 (14:46 +0100)
classes/aem::dispatcher.yaml

index f92abcbb05eb0d6363cca1b51393eff7dbec679a..4839a0b3b5cc7b57a723e30fddc22c4af721dc1f 100644 (file)
@@ -3,8 +3,9 @@ aem::dispatcher::publish_farm:
   website:
     renders:
       - { hostname: "127.0.0.1", port: '4503' }
-    filters:
+    filter:
       - { type: 'deny', glob: '*' }
+      - { type: 'allow', url: '/content*' } # disable this rule to allow mapped content only
       - { type: 'allow', url: '*.css'   }  # enable css
       - { type: 'allow', url: '*.gif'   }  # enable gifs
       - { type: 'allow', url: '*.ico'   }  # enable icos