From: Sascha Date: Mon, 20 Aug 2018 15:17:21 +0000 (+0200) Subject: deuwo prd api basic auth X-Git-Tag: v0.1.0~357 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=c9eb3f86822cef278431e5526bb9b69000ace254;p=pixelpark%2Fhiera.git deuwo prd api basic auth --- diff --git a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml index 2344cbb9..32e66e76 100644 --- a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -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