]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
deuwo prd api basic auth
authorSascha <sascha.strassheim@pixelpark.com>
Mon, 20 Aug 2018 15:17:21 +0000 (17:17 +0200)
committerSascha <sascha.strassheim@pixelpark.com>
Mon, 20 Aug 2018 15:17:21 +0000 (17:17 +0200)
customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml

index 2344cbb997519d2ffc21825f738ba45fb2e946e6..32e66e769685b68b317f50ac6149092585ffd171 100644 (file)
@@ -5,7 +5,6 @@ infra::additional_classes:
   - infra::profile::mysql_server
   - infra::profile::postfix
   - infra::profile::cron
-  - infra::profile::clamav
   - logstash
 
 infra::profile::cron::cronjobs:
@@ -130,12 +129,22 @@ infra::profile::apache::pp_vhosts:
       - location1:
         provider: location
         path: '/'
-        auth_type: Digest
+        limit:
+          - { methods: 'OPTIONS', require: 'all granted' }
+        auth_type: Basic
         auth_name: server
-        auth_digest_provider: file
-        auth_digest_algorithm: MD5
-        auth_user_file: '/etc/httpd/htdigest'
+        auth_user_file: '/etc/httpd/.htpasswd'
         auth_require: 'valid-user'
+
+#      - location1:
+#        provider: location
+#        path: '/'
+#        auth_type: Digest
+#        auth_name: server
+#        auth_digest_provider: file
+#        auth_digest_algorithm: MD5
+#        auth_user_file: '/etc/httpd/htdigest'
+#        auth_require: 'valid-user'
     rewrites:
       - alias:
         comment: 'Alles auf https umleiten'
@@ -144,15 +153,6 @@ infra::profile::apache::pp_vhosts:
         rewrite_rule:
           - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
 
-infra::profile::clamav::clamd_options:
-  AllowSupplementaryGroups: false
-  ScanOnAccess: true
-  OnAccessIncludePath:
-    - '/var/www/openimmo_import/backup'
-  OnAccessPrevention: 'yes'
-  OnAccessExtraScanning: 'yes'
-  VirusEvent: '/bin/echo "ClamAV REPORT: Virus %v found! File: $CLAM_VIRUSEVENT_FILENAME" | mail -s "Virus found" 8x5@pixelpark.com'
-
 logstash::generic_resource:
   deuwo_import:
     resource: file