From 0485324578e61fed71782fc065f40382db21e938 Mon Sep 17 00:00:00 2001 From: Otho Date: Fri, 14 Apr 2023 23:36:34 -0400 Subject: [PATCH] Update apache config to be generic. --- apache24/httpd.conf | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/apache24/httpd.conf b/apache24/httpd.conf index 5ce8386..5fc8ec8 100644 --- a/apache24/httpd.conf +++ b/apache24/httpd.conf @@ -1,9 +1,9 @@ -ServerName othostash.com +ServerName ${domain} ServerRoot /usr/local -Listen [2603:3015:1003:56cd::dad:db]:80 -Listen [2603:3015:1003:56cd::dad:db]:443 -Listen 10.1.9.10:443 +Listen [${subnet}${db_addr}]:80 +Listen [${subnet}${db_addr}]:443 +Listen ${db_ipv4_int_addr}:443 LoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so LoadModule authn_file_module libexec/apache24/mod_authn_file.so @@ -52,19 +52,19 @@ Group www MDCertificateAgreement accepted -MDContactEmail admin@othostash.com -MDomain othostash.com www.othostash.com +MDContactEmail admin@${domain} +MDomain ${domain} www.${domain} -# -# ServerName "plex.othostash.com" +# +# ServerName "plex.${domain}" # SSLEngine on # ProxyPass "/" "http://localhost:32400" # ProxyPassReverse "/" "http://localhost:32400" # - - ServerName "www.othostash.com" - ServerName "othostash.com" + + ServerName "www.${domain}" + ServerName "${domain}" SetHandler md-status