directoryindex: index.php index.html
- 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'
-# rewrite_cond:
-# - '%%{ich-trickse}{HTTPS} !=on'
-# rewrite_rule:
-# - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
+ path: '/api/v1/cdm-ham/system-status-handler'
+ auth_type: Basic
+ auth_name: "Restricted Content"
+ auth_user_file: '/etc/httpd/conf/basic-auth-hh'
+ require:
+ requires:
+ - 'user hh-push'
+ # IP Hamburg
+ - 'ip 10.5.13.144'
+ # Pixelpark Admin-Netz
+ - 'ip 217.66.51.'
+ enforce: all
+ - location2:
+ provider: location
+ path: '/api/v1/cdm-ham/notification-handler'
+ auth_type: Basic
+ auth_name: "Restricted Content"
+ auth_user_file: '/etc/httpd/conf/basic-auth-hh'
+ require:
+ requires:
+ - 'user hh-push'
+ # IP Hamburg
+ - 'ip 10.5.13.144'
+ # Pixelpark Admin-Netz
+ - 'ip 217.66.51.'
+ enforce: all