From: Oliver Böttcher Date: Tue, 11 Jul 2017 12:19:48 +0000 (+0200) Subject: ODT - INT show error page if denied X-Git-Tag: v0.1.0~2670^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=502183445f8c99ad9ea26f78aafba143f60ca799;p=pixelpark%2Fhiera.git ODT - INT show error page if denied --- diff --git a/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml index 382f3800..47f09610 100644 --- a/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml @@ -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' }