From 19fe2639989ff0d443929fc197ba5253fdbd3f25 Mon Sep 17 00:00:00 2001
From: Ivan Prikhodko <ivan.prikhodko@pixelpark.com>
Date: Wed, 20 Sep 2017 14:19:20 +0200
Subject: [PATCH] telekom ehealth - access

---
 .../www-ehealth-telematik-com.pixelpark.net.yaml              | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/customer/telekom-ehealth/www-ehealth-telematik-com.pixelpark.net.yaml b/customer/telekom-ehealth/www-ehealth-telematik-com.pixelpark.net.yaml
index c97bbbad..2d290db0 100644
--- a/customer/telekom-ehealth/www-ehealth-telematik-com.pixelpark.net.yaml
+++ b/customer/telekom-ehealth/www-ehealth-telematik-com.pixelpark.net.yaml
@@ -39,6 +39,10 @@ infra::profile::wordpress::projects:
         auth_require: 'valid-user'
         require:
           - local
+      - provider: location
+        path: '~^/wp-admin/admin-ajax.php$'
+        require:
+          - all granted 
       - provider: location
         path: '/.well-known/pki-validation/fileauth.txt'
     setenvif_non_ssl:
-- 
2.39.5