From 4eccdb1c58fffc1128b111399dd08957c64d529a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Mon, 16 Oct 2017 11:21:08 +0200 Subject: [PATCH] BMWI-GWO: live nexxt-change.org maintenance --- customer/bmwi-gruenderwoche/production.yaml | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/customer/bmwi-gruenderwoche/production.yaml b/customer/bmwi-gruenderwoche/production.yaml index 8c3e805e..53ba6822 100644 --- a/customer/bmwi-gruenderwoche/production.yaml +++ b/customer/bmwi-gruenderwoche/production.yaml @@ -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]" -- 2.39.5