From 32a5b35b309b5146d81e46148b22ba811d5b7b58 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Thu, 21 Apr 2016 10:43:28 +0200 Subject: [PATCH] Add headers --- classes/aem::dispatcher.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/classes/aem::dispatcher.yaml b/classes/aem::dispatcher.yaml index a9e29002..2024924e 100644 --- a/classes/aem::dispatcher.yaml +++ b/classes/aem::dispatcher.yaml @@ -1,6 +1,8 @@ --- aem::dispatcher::publish_farm: website: + clientheaders: + - '*' renders: - { hostname: "127.0.0.1", port: '4503' } filter: @@ -40,4 +42,11 @@ aem::dispatcher::publish_farm: - { type: 'allow', glob: '*/analytics.sitecatalyst.js' } cache_allowedClients: - { type: 'deny', glob: '*' } - - { type: 'allow', glob: '127.0.0.1' } \ No newline at end of file + - { type: 'allow', glob: '127.0.0.1' } + cache_headers: + - 'X-Content-Type-Options' + - 'X-Frame-Options' + - 'X-XSS-Protection' + - 'Last-Modified' + - 'Expires' + - 'Content-Type' \ No newline at end of file -- 2.39.5