]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ODT - expires by type
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Wed, 30 Aug 2017 10:50:01 +0000 (12:50 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Wed, 30 Aug 2017 10:50:01 +0000 (12:50 +0200)
customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml

index a34531df6256d524edb36ee9398feeb344d21869..cd9ff615ecf6f46179a7e059ad615b383889b647 100644 (file)
@@ -20,6 +20,27 @@ apache::mod:proxy:
 apache::mod::remoteip::proxy_ips:
   - '93.188.107.252'
   - '93.188.107.253'
+
+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" }
+
 infra::profile::apache::pp_vhosts:
   cms:
     setenvif: