From: alex Date: Sat, 17 Feb 2024 19:00:42 +0000 (+0100) Subject: Add morera79.pdp7.net static message X-Git-Tag: 20241020-emacs~280 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=afd6125b952b184c7ad0d9556a2d1ebb203acdd6;p=alex.git Add morera79.pdp7.net static message --- diff --git a/personal_infra/puppet/site/h1.pdp7.net.pp b/personal_infra/puppet/site/h1.pdp7.net.pp index f0ec35a..0bdb5b9 100644 --- a/personal_infra/puppet/site/h1.pdp7.net.pp +++ b/personal_infra/puppet/site/h1.pdp7.net.pp @@ -132,4 +132,25 @@ node 'h1.pdp7.net' { enable => true, ensure => running, } + + file {"/etc/apache2/sites-enabled/morera79.pdp7.net.conf": + content => @("EOT") + MDomain morera79.pdp7.net + + + ServerName morera79.pdp7.net + Redirect permanent / https://morera79.pdp7.net/ + + + + ServerName morera79.pdp7.net + SSLEngine on + Alias / /bogus + ErrorDocument 403 "Conservo lo que había aquí, escríbeme a alex arroba corcoles punto net." + + | EOT + , + } + ~> + Service['apache2'] }