]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
changed ssl rewrite and basic-auth dev-startercenter-nrw-de.pixelpark.net
authorSascha Strassheim <sascha.strassheim@pixelpark.com>
Thu, 21 Dec 2017 14:41:34 +0000 (15:41 +0100)
committerSascha Strassheim <sascha.strassheim@pixelpark.com>
Thu, 21 Dec 2017 14:41:34 +0000 (15:41 +0100)
customer/mwide-nrw/dev-startercenter-nrw-de.pixelpark.net.yaml

index 69b10bac3b0af04a3a8305b3b9553f9386a6da85..2d8893001cbae57972954d1e6299396c31627bae 100644 (file)
@@ -67,13 +67,13 @@ infra::profile::drupal::projects:
           - All
 #      - location_root:
 #        provider: locationmatch
-#        path: '^/(?!(server-status|server-info))'
-#        auth_type: Digest
-#        auth_name: pixelrealm
-#        auth_digest_provider: file
-#        auth_digest_algorithm: MD5
-#        auth_user_file: '/etc/httpd/htdigest'
-#        auth_require: 'valid-user'
+        path: '/)'
+        auth_type: Digest
+        auth_name: pixelrealm
+        auth_digest_provider: file
+        auth_digest_algorithm: MD5
+        auth_user_file: '/etc/httpd/htdigest'
+        auth_require: 'valid-user'
 #        require:
 #          - 'ip 217.66.55 217.66.50 217.66.51 217.66.48.130 168.224.160 10.121.101 204.114.176 204.114.216 148.168.40 202.32.173 204.114.248 168.224.1 168.224.160 148.168.127 204.114.196 193.235.226 212.58.14 204.114.199 155.94.99 155.94.78 155.94.62 218.213.241 155.94.70 155.94.110 222.73.72 155.94.119 155.94.55 68.58.141.20 174.137.32.22 15.213.17 85.183.14'
     rewrites:
@@ -82,4 +82,4 @@ infra::profile::drupal::projects:
         rewrite_cond:
           - '%%{ich-trickse}{HTTPS} !=on'
         rewrite_rule:
-          - ^(.*)$  dev-startercenter-nrw-de.pixelpark.net$1  [R=303,L]
+          - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'