]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
eppendorf apache test
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Fri, 27 Apr 2018 12:45:20 +0000 (14:45 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Fri, 27 Apr 2018 12:45:20 +0000 (14:45 +0200)
customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml

index 098ff4d7a13bef7b5e8b8b570854a81174b836be..16e65e17ff0cf599fd0054cb84cc9d0293a40984 100644 (file)
@@ -18,8 +18,13 @@ infra::profile::apache::pp_vhosts:
     ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
     ssl_proxyengine: On
     proxy_preserve_host: On
+    setenvifnocase:
+      - 'Request_URI \.(?:gif|jpe?g|png)$ no-gzip'
+      - 'Request_URI \.(?:gif|jpe?g|png)$ dont-vary'
+
     headers:
       - always append X-Frame-Options SAMEORIGIN
+      - header append Vary User-Agent env=!dont-vary
 #    custom_fragment: |
 #            <Location />
 #                ProxyRequests Off
@@ -76,6 +81,11 @@ infra::profile::apache::pp_vhosts:
         proxy_pass:
           - { path: /, url: 'http://localhost:9001/media' }
 
+      - provider: filesmatch
+        path: '\.(cgi|shtml|phtml|php)$'
+        ssl_options:
+          - '+StdEnvVars'
+
     rewrites:
       - comment: 'frontend root rewrite'
         rewrite_cond: