]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark add rewrites for facebook and twitter
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Fri, 24 Aug 2018 12:04:18 +0000 (14:04 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Fri, 24 Aug 2018 12:04:18 +0000 (14:04 +0200)
customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml

index 3dc8d42dae76e27fbb3927c699826671c728f684..848f9d1758ed428c07ee96019b34444cd6697d66 100644 (file)
@@ -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]'