From: Andreas Gerstenberg Date: Fri, 27 Apr 2018 12:45:20 +0000 (+0200) Subject: eppendorf apache test X-Git-Tag: v0.1.0~1196 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=5f56f94cad213672069aee0f0ac17f275bc223c5;p=pixelpark%2Fhiera.git eppendorf apache test --- diff --git a/customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml b/customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml index 098ff4d7..16e65e17 100644 --- a/customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml +++ b/customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml @@ -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: | # # 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: