]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
BMWI-GWO: live nexxt-change.org maintenance
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 16 Oct 2017 09:21:08 +0000 (11:21 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 16 Oct 2017 09:21:08 +0000 (11:21 +0200)
customer/bmwi-gruenderwoche/production.yaml

index 8c3e805e6b323b47627f96eaa6babfa2dd108577..53ba6822863dfa443d286df1e746ddd29cfd070e 100644 (file)
@@ -183,3 +183,25 @@ infra::profile::apache::vhosts:
           - FollowSymLinks
         allow_override:
           - None
+  www.nexxt-change.org:
+    serveraliases:
+      - nexxt-change.org
+    docroot: '/var/www/nc-maintenance'
+    port: 80
+    docroot_owner: apache
+    docroot_group: apache
+    docroot_mode: '2775'
+    directories:
+      - directory_root:
+        provider: directory
+        path: '/var/www/nc-maintenance'
+        options:
+          - FollowSymLinks
+        allow_override:
+          - None
+    rewrites:
+      - comment: "404 to index.html"
+        rewrite_cond:
+          - "%%{ich-trickse}{REQUEST_FILENAME} !-f"
+        rewrite_rule:
+          - "^(.*)$ / [L,R=301]"