Update apache config to be generic.

This commit is contained in:
Otho 2023-04-14 23:36:34 -04:00
parent a95ffd8f89
commit 0485324578
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -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
</Directory>
MDCertificateAgreement accepted
MDContactEmail admin@othostash.com
MDomain othostash.com www.othostash.com
MDContactEmail admin@${domain}
MDomain ${domain} www.${domain}
# <VirtualHost [2603:3015:1003:56cd::dad:feed]:443>
# ServerName "plex.othostash.com"
# <VirtualHost [${subnet}${feed_addr}]:443>
# ServerName "plex.${domain}"
# SSLEngine on
# ProxyPass "/" "http://localhost:32400"
# ProxyPassReverse "/" "http://localhost:32400"
# </VirtualHost>
<VirtualHost 10.1.9.10:443 [2603:3015:1003:56cd::dad:db]:443>
ServerName "www.othostash.com"
ServerName "othostash.com"
<VirtualHost [${subnet}${db_addr}]:443 ${db_ipv4_int_addr}:443>
ServerName "www.${domain}"
ServerName "${domain}"
<Location "/md-status">
SetHandler md-status