From: Oliver Böttcher Date: Mon, 11 Sep 2017 10:55:56 +0000 (+0200) Subject: PIXELPARK - tower expires header X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e7fb81bc466acedd7722ecfb4268875f2fb828ae;p=pixelpark%2Fhiera.git PIXELPARK - tower expires header --- 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