fix httpd template virtual.conf
This commit is contained in:
parent
bc64ff9123
commit
c45681b6ad
@ -6,7 +6,7 @@
|
|||||||
#foreach( $pac in ${hive.webpacs} )
|
#foreach( $pac in ${hive.webpacs} )
|
||||||
<VirtualHost ${pac.curINetAddr.inetAddr}:80>
|
<VirtualHost ${pac.curINetAddr.inetAddr}:80>
|
||||||
ServerName _
|
ServerName _
|
||||||
ServerAdmin webmaster@${pac.getName}.hostsharing.net
|
ServerAdmin webmaster@${pac.name}.hostsharing.net
|
||||||
|
|
||||||
<Directory />
|
<Directory />
|
||||||
Redirect 404 /
|
Redirect 404 /
|
||||||
@ -17,12 +17,12 @@
|
|||||||
|
|
||||||
<VirtualHost ${pac.curINetAddr.inetAddr}:443>
|
<VirtualHost ${pac.curINetAddr.inetAddr}:443>
|
||||||
ServerName _
|
ServerName _
|
||||||
ServerAdmin webmaster@${pac.getName}.hostsharing.net
|
ServerAdmin webmaster@${pac.name}.hostsharing.net
|
||||||
|
|
||||||
SSLEngine On
|
SSLEngine On
|
||||||
SSLCertificateFile /etc/apache2/pems-enabled/${pac.getName}.crt
|
SSLCertificateFile /etc/apache2/pems-enabled/${pac.name}.crt
|
||||||
SSLCertificateKeyFile /etc/apache2/pems-enabled/${pac.getName}.key
|
SSLCertificateKeyFile /etc/apache2/pems-enabled/${pac.name}.key
|
||||||
SSLCertificateChainFile /etc/apache2/pems-enabled/${pac.getName}.chain
|
SSLCertificateChainFile /etc/apache2/pems-enabled/${pac.name}.chain
|
||||||
|
|
||||||
<Directory />
|
<Directory />
|
||||||
SSLRequireSSL On
|
SSLRequireSSL On
|
||||||
|
Loading…
Reference in New Issue
Block a user