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

index 99fb82998c2f92f3cc8877d40f91be3e381ac707..deb471bacb2b8b4a5d14446935b040c04dce585d 100644 (file)
@@ -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: |
 #            <Location />
 #                ProxyRequests Off
@@ -51,7 +39,6 @@ infra::profile::apache::pp_vhosts:
 #                ProxyPassReverse https://dev-eppendorf-com.pixelpark.net:9002/
 #            </Location>
 #            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: