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

index 4f6ce9afce72bb1837a19540918e6dbfe3d7eb1e..9ea9705f6b0af4c32c1eb2fb60ce1f19edc2b7b1 100644 (file)
@@ -16,9 +16,24 @@ 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'
-    proxy_dest: 'http://dev-eppendorf-com.pixelpark.net:9001/'
-    no_proxy_uris:
-      - /server-status
+    ssl_proxyengine: On
+    proxy_preserve_host: On
+    proxy_pass:
+      - { path: /, url: 'https://dev-eppendorf-com.pixelpark.net:9002/' }
+#    prox_pass_reverse:
+#      - { path: /, url: 'https://dev-eppendorf-com.pixelpark.net:9002/' }
+    headers:
+      - always append X-Frame-Options SAMEORIGIN
+#    custom_fragment: |
+#            <Location />
+#                ProxyRequests Off
+#                ProxyPreserveHost On
+#                ProxyPass https://dev-eppendorf-com.pixelpark.net:9002/
+#                ProxyPassReverse https://dev-eppendorf-com.pixelpark.net:9002/
+#            </Location>
+#            ExpiresActive On
+#            SSLProxyEngine On
+
     docroot_owner: apache
     docroot_group: apache
     docroot_mode: '2775'
@@ -38,3 +53,30 @@ 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"
+
+      - provider: location
+        path: '/maintainance'
+        sethandler: "maintainance"
+
+      - provider: location
+        path: '/medias'
+        sethandler: "medias"
+
+    rewrites:
+      - comment: 'frontend root rewrite'
+        rewrite_cond:
+          - '%{literal("%")}{REQUEST_URI} ^(/?)$'
+        rewrite_rule:
+          - '(.*)$ /yb2bacceleratorstorefront/ [R=301]'