From: Andreas Gerstenberg Date: Fri, 27 Apr 2018 13:42:01 +0000 (+0200) Subject: eppendorf apache testing X-Git-Tag: v0.1.0~1182 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b5f3981cc0d5568571b907d2fb354c8586c57a3f;p=pixelpark%2Fhiera.git eppendorf apache testing --- diff --git a/customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml b/customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml index 99fb8299..deb471ba 100644 --- a/customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml +++ b/customer/eppendorf/dev-eppen-01-hy01.pixelpark.net.yaml @@ -16,33 +16,21 @@ infra::profile::apache::pp_vhosts: ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem' ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' - ssl_proxyengine: On +# SSLProxyEngine On + ssl_proxyengine: true +# ProxyPreserveHost On proxy_preserve_host: true - -# proxy_pass: -# - path: '/' -# url: 'https://localhost:9002/yb2bacceleratorstorefront/' -# reverse: -# - path: '/' -# url: 'https://localhost:9002/' -# reverse_cookies: -# - path: '/yb2bacceleratorstorefront' -# url: '/' - +# ProxyPass Settings (geht auch in Locations) proxy_pass: - { path: /, url: 'https://localhost:9002/' } - setenvif: - 'HTTPS on HTTPS=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 - append Vary User-Agent env=!dont-vary - # custom_fragment: | # # ProxyRequests Off @@ -51,7 +39,6 @@ infra::profile::apache::pp_vhosts: # ProxyPassReverse https://dev-eppendorf-com.pixelpark.net:9002/ # # ExpiresActive On - docroot_owner: apache docroot_group: apache docroot_mode: '2775' @@ -63,12 +50,10 @@ infra::profile::apache::pp_vhosts: - MultiViews allow_override: - All - - provider: directory path: '/var/www/cgi-bin' ssl_options: - '+StdEnvVars' - - provider: location path: '/' auth_type: Digest @@ -77,38 +62,31 @@ infra::profile::apache::pp_vhosts: auth_digest_algorithm: MD5 auth_user_file: '/etc/httpd/htdigest' auth_require: 'valid-user' - - provider: location path: '/admin' sethandler: "admin" - - provider: location path: '/hmc' sethandler: "hmc" - - provider: location path: '/cmscockpit' sethandler: "cmscockpit" proxy_pass: - { path: /, url: 'https://localhost:9002/cmscockpit' } - - - provider: location - path: '/maintainance' - sethandler: "maintainance" - require: - - local - - provider: location path: '/medias' sethandler: "medias" proxy_pass: - { path: /, url: 'http://localhost:9001/media' } - + - provider: location + path: '/maintainance' + sethandler: "maintainance" + require: + - local - provider: filesmatch path: '\.(cgi|shtml|phtml|php)$' ssl_options: - '+StdEnvVars' - rewrites: - comment: 'frontend root rewrite' rewrite_cond: