aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-03-04 17:35:06 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-03-04 17:36:19 +0100
commit138a4ef4f2b837f67f99d79a816c2882a4783d0f (patch)
tree40ec5b7ac9c47e46039422d7d4447807a1b6852e
parent0e5c5fb851480de79bba571b196234ab35870695 (diff)
downloadetc_apache2-138a4ef4f2b837f67f99d79a816c2882a4783d0f.tar.gz
etc_apache2-138a4ef4f2b837f67f99d79a816c2882a4783d0f.tar.bz2
etc_apache2-138a4ef4f2b837f67f99d79a816c2882a4783d0f.zip
Add blog.test.replicant.us config for the first letsencrypt cert.
Without it we end up in a chicken and egg issue if we don't want to stop apache2: the regular blog.test.replicant.us configuration needs certificates to work, and to get a certificate we need a working website at blog.test.replicant.us. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--sites-available/blog.test.replicant.us-letsencrypt.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/sites-available/blog.test.replicant.us-letsencrypt.conf b/sites-available/blog.test.replicant.us-letsencrypt.conf
new file mode 100644
index 0000000..1624047
--- /dev/null
+++ b/sites-available/blog.test.replicant.us-letsencrypt.conf
@@ -0,0 +1,8 @@
+# This file is only meant to be used to get the very first letsencrypt
+# certificate, and before the final letsencrypt or apache
+# configuration are deployed.
+<VirtualHost *:80>
+ ServerName blog.test.replicant.us
+ DocumentRoot /var/www/blog.test.replicant.us
+</VirtualHost>
+