From: Philipp Dallig Date: Mon, 8 Feb 2016 13:46:53 +0000 (+0100) Subject: aem - Add filter X-Git-Tag: v0.1.0~5411^2~3^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=a4fce106892aa13244df2ea23f3163c13ecb7d29;p=pixelpark%2Fhiera.git aem - Add filter --- diff --git a/classes/aem::dispatcher.yaml b/classes/aem::dispatcher.yaml index f92abcbb..4839a0b3 100644 --- a/classes/aem::dispatcher.yaml +++ b/classes/aem::dispatcher.yaml @@ -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