From: Andreas Gerstenberg Date: Fri, 24 Aug 2018 12:04:18 +0000 (+0200) Subject: pixelpark add rewrites for facebook and twitter X-Git-Tag: v0.1.0~296^2~3 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=a3c10a07f18f89f9a43c19ec33d2073164c66944;p=pixelpark%2Fhiera.git pixelpark add rewrites for facebook and twitter --- diff --git a/customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml b/customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml index 3dc8d42d..848f9d17 100644 --- a/customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml +++ b/customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml @@ -140,6 +140,18 @@ infra::profile::typo3::projects_composer_monolith: require: - local rewrites: + - comment: 'redirect facebook' + rewrite_cond: + - '%%{ich-trickse}{REQUEST_URI} ^/facebook [NC]' + rewrite_rule: + - '^(.*)$ https://www.facebook.com/publicispixelpark [R=301,L]' + + - comment: 'redirect twitter' + rewrite_cond: + - '%%{ich-trickse}{REQUEST_URI} ^/twitter [NC]' + rewrite_rule: + - '^(.*)$ https://twitter.com/pubpxp [R=301,L]' + - comment: 'redirect to www' rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} !^www\. [NC]'