From 5f56f94cad213672069aee0f0ac17f275bc223c5 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Fri, 27 Apr 2018 14:45:20 +0200 Subject: [PATCH] eppendorf apache test --- .../eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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: -- 2.39.5