]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
PIXELPARK - tower expires header
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 11 Sep 2017 10:55:56 +0000 (12:55 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 11 Sep 2017 10:55:56 +0000 (12:55 +0200)
customer/pixelpark/deploy.pixelpark.com.yaml

index 22e67f67dae47b5d724220cc9ceb844f53d392ac..0fd6e18acbea5a6330417ccde7b83477d80be12f 100644 (file)
@@ -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