From: Oliver Böttcher Date: Fri, 6 Jan 2017 14:23:16 +0000 (+0100) Subject: MHK - Rewrite / to frontend controller X-Git-Tag: v0.1.0~3658 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=8bd47ea200960051b5815b1cd23f338515deff3e;p=pixelpark%2Fhiera.git MHK - Rewrite / to frontend controller --- diff --git a/customer/mhk/red-mhk-kueche-de.pixelpark.net.yaml b/customer/mhk/red-mhk-kueche-de.pixelpark.net.yaml index 06d14585..2a5e13de 100644 --- a/customer/mhk/red-mhk-kueche-de.pixelpark.net.yaml +++ b/customer/mhk/red-mhk-kueche-de.pixelpark.net.yaml @@ -82,6 +82,11 @@ site::profile::apache::pp_vhosts: comment: 'all to https' rewrite_rule: - '^(.*)$ https://preview-red-mhk-kueche-de.pixelpark.net$1 [L,R=301]' + rewrites: + - index: + command: 'PT to Front-Controller' + rewrite_rule: + - '^/$ /blueprint/servlet/page/kueche-de [PT,L]" proxy_preserve_host: true proxy_pass: - { path: /blueprint, url: 'ajp://localhost:40009/blueprint' }