fix httpd template virtual.conf

This commit is contained in:
Peter Hormanns 2017-07-03 16:42:10 +02:00
parent bc64ff9123
commit c45681b6ad

View File

@ -6,7 +6,7 @@
#foreach( $pac in ${hive.webpacs} )
<VirtualHost ${pac.curINetAddr.inetAddr}:80>
ServerName _
ServerAdmin webmaster@${pac.getName}.hostsharing.net
ServerAdmin webmaster@${pac.name}.hostsharing.net
<Directory />
Redirect 404 /
@ -17,12 +17,12 @@
<VirtualHost ${pac.curINetAddr.inetAddr}:443>
ServerName _
ServerAdmin webmaster@${pac.getName}.hostsharing.net
ServerAdmin webmaster@${pac.name}.hostsharing.net
SSLEngine On
SSLCertificateFile /etc/apache2/pems-enabled/${pac.getName}.crt
SSLCertificateKeyFile /etc/apache2/pems-enabled/${pac.getName}.key
SSLCertificateChainFile /etc/apache2/pems-enabled/${pac.getName}.chain
SSLCertificateFile /etc/apache2/pems-enabled/${pac.name}.crt
SSLCertificateKeyFile /etc/apache2/pems-enabled/${pac.name}.key
SSLCertificateChainFile /etc/apache2/pems-enabled/${pac.name}.chain
<Directory />
SSLRequireSSL On