From e7fb81bc466acedd7722ecfb4268875f2fb828ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Mon, 11 Sep 2017 12:55:56 +0200 Subject: [PATCH] PIXELPARK - tower expires header --- customer/pixelpark/deploy.pixelpark.com.yaml | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/customer/pixelpark/deploy.pixelpark.com.yaml b/customer/pixelpark/deploy.pixelpark.com.yaml index 22e67f67..0fd6e18a 100644 --- a/customer/pixelpark/deploy.pixelpark.com.yaml +++ b/customer/pixelpark/deploy.pixelpark.com.yaml @@ -21,6 +21,28 @@ logstash::generic_resource: path: '/var/log/ansible/*.log' type: ansible-log +apache::mod::expires::expires_by_type: + - { application/javascript: "access plus 1 year" } + - { application/x-javascript: "access plus 1 year" } + - { text/css: "access plus 1 year" } + - { image/jpeg: "access plus 1 month" } + - { image/png: "access plus 1 month" } + - { image/bmp: "access plus 1 month" } + - { image/gif: "access plus 1 month" } + - { image/vnd.microsoft.icon: "access plus 1 year" } + - { image/x-icon: "access plus 1 year" } + - { application/font-woff: "access plus 1 month" } + - { application/vnd.ms-fontobject: "access plus 1 month" } + - { image/svg+xml: "access plus 1 month" } + - { application/font-sfnt: "access plus 1 month" } + - { application/vnd.oasis.opendocument.formula-template: "access plus 1 month" } + - { application/font-woff2: "access plus 1 month" } + - { video/mp4: "access plus 1 month" } + - { video/ogv: "access plus 1 month" } + - { video/webm: "access plus 1 month" } + - { text/html: "access plus 0 seconds" } + - { application/json: "access plus 0 seconds" } + infra::profile::apache::pp_vhosts: awx: servername: deploy.pixelpark.com -- 2.39.5