From 40072e4ab91a00e1275263dd8fe8fb9daee275dd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 20 Oct 2020 00:10:25 +0200 Subject: restructure default vhost snippets --- apache2/sites-available/000-before-tls-default.conf | 4 ---- apache2/sites-available/000-tls-000.conf | 4 ++++ apache2/sites-available/000-tls-zzz.conf | 4 ++++ apache2/sites-available/000-zzz.conf | 4 ---- 4 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 apache2/sites-available/000-before-tls-default.conf create mode 100644 apache2/sites-available/000-tls-000.conf create mode 100644 apache2/sites-available/000-tls-zzz.conf delete mode 100644 apache2/sites-available/000-zzz.conf diff --git a/apache2/sites-available/000-before-tls-default.conf b/apache2/sites-available/000-before-tls-default.conf deleted file mode 100644 index 206bbb2..0000000 --- a/apache2/sites-available/000-before-tls-default.conf +++ /dev/null @@ -1,4 +0,0 @@ -#Define _HOST example.org -#Define _TLS_HOST example.org -Define _TLS_CERT_CHAIN /etc/ssl/certs/ssl-cert-snakeoil.pem -Define _TLS_KEY /etc/ssl/private/ssl-cert-snakeoil.key diff --git a/apache2/sites-available/000-tls-000.conf b/apache2/sites-available/000-tls-000.conf new file mode 100644 index 0000000..206bbb2 --- /dev/null +++ b/apache2/sites-available/000-tls-000.conf @@ -0,0 +1,4 @@ +#Define _HOST example.org +#Define _TLS_HOST example.org +Define _TLS_CERT_CHAIN /etc/ssl/certs/ssl-cert-snakeoil.pem +Define _TLS_KEY /etc/ssl/private/ssl-cert-snakeoil.key diff --git a/apache2/sites-available/000-tls-zzz.conf b/apache2/sites-available/000-tls-zzz.conf new file mode 100644 index 0000000..78bcdbc --- /dev/null +++ b/apache2/sites-available/000-tls-zzz.conf @@ -0,0 +1,4 @@ +#Undefine _HOST +#Undefine _TLS_HOST +Undefine _TLS_CERT_CHAIN +Undefine _TLS_KEY diff --git a/apache2/sites-available/000-zzz.conf b/apache2/sites-available/000-zzz.conf deleted file mode 100644 index 78bcdbc..0000000 --- a/apache2/sites-available/000-zzz.conf +++ /dev/null @@ -1,4 +0,0 @@ -#Undefine _HOST -#Undefine _TLS_HOST -Undefine _TLS_CERT_CHAIN -Undefine _TLS_KEY -- cgit v1.2.3