]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ODT - INT show error page if denied
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Tue, 11 Jul 2017 12:19:48 +0000 (14:19 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Tue, 11 Jul 2017 12:19:48 +0000 (14:19 +0200)
customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml

index 382f3800de3e265d519743f46410b2d22bdab8c6..47f096104696ad129d805ac1bb79c0caed3309bc 100644 (file)
@@ -35,6 +35,13 @@ infra::profile::apache::pp_vhosts:
           - '%%{ich-trickse}{REQUEST_URI} !^/.\.html'
         rewrite_rule:
           - '^(.*)$ https://int-odt-daimler-com.pixelpark.net$1 [L,R=301]'
+    rewrites_ssl:
+      - check_auth:
+        comment: 'show error if denied'
+        rewrite_cond:
+          - '%%{ich-trickse}{SSL:SSL_CLIENT_VERIFY} !=SUCCESS'
+        rewrite_rule:
+          - '.? - [F]'
     proxy_preserve_host: true
     proxy_pass:
       - { path: /newsletterservice, url: 'http://localhost:8081/newsletterservice' }