]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
triple win fachkraefte ssl
authorsascha.strassheim <sascha.strassheim@pixelpark.com>
Fri, 25 May 2018 11:20:59 +0000 (13:20 +0200)
committersascha.strassheim <sascha.strassheim@pixelpark.com>
Fri, 25 May 2018 11:20:59 +0000 (13:20 +0200)
customer/joml/production.yaml

index cb750a9fd418d87454b2752d87004c6e19e415ac..bde00176dac38bba4090b5cd1b3b0658341d3716 100644 (file)
@@ -162,11 +162,11 @@ infra::profile::wordpress::projects:
       # Pixelpark Servernames
       - triple-win-pflegekraefte.pixelpark.net
     ssl: false
-#    cert_servername: 'triple-win-pflegekraefte.de'
-#    cert_customer: 'bazav'
-#    ssl_cert: /etc/pki/tls/certs/triple-win-pflegekraefte.de-cert.pem
-#    ssl_chain: /etc/pki/tls/certs/triple-win-pflegekraefte.de-cert.pem
-#    ssl_key: /etc/pki/tls/private/triple-win-pflegekraefte.de-key.pem
+    cert_servername: 'triple-win-pflegekraefte.de'
+    cert_customer: 'bazav'
+    ssl_cert: /etc/pki/tls/certs/triple-win-pflegekraefte.de-cert.pem
+    ssl_chain: /etc/pki/tls/certs/triple-win-pflegekraefte.de-cert.pem
+    ssl_key: /etc/pki/tls/private/triple-win-pflegekraefte.de-key.pem
     directories:
       - provider: location
         path: '/wp-login'
@@ -178,12 +178,12 @@ infra::profile::wordpress::projects:
         auth_require: 'valid-user'
       - provider: location
 #        path: '/.well-known/pki-validation/fileauth.txt'
-#    rewrites:
-#      - comment: 'http to https'
-#        rewrite_cond:
-#          - '%%{ich-trickse}{HTTPS} !=on'
-#        rewrite_rule:
-#          - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
+    rewrites:
+      - comment: 'http to https'
+        rewrite_cond:
+          - '%%{ich-trickse}{HTTPS} !=on'
+        rewrite_rule:
+          - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
 
 infra::profile::apache::pp_vhosts:
   regionale-fachkraefteinitiative: