Add template file for default virtual host configuration. (refs: #111)
This commit is contained in:
parent
a16c082ba1
commit
fea9a5a083
28
hsarback/src/de/hsadmin/mods/pac/httpd-virtual.jtpl
Normal file
28
hsarback/src/de/hsadmin/mods/pac/httpd-virtual.jtpl
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<!-- BEGIN: main -->#
|
||||||
|
# This file is managed by HSAdmin.
|
||||||
|
# Do not edit manually. Changes will be overwritten.
|
||||||
|
#
|
||||||
|
|
||||||
|
NameVirtualHost {PAC_IPNUMBER}:80
|
||||||
|
NameVirtualHost {PAC_IPNUMBER_EX}:80
|
||||||
|
NameVirtualHost {PAC_IPNUMBER}:443
|
||||||
|
NameVirtualHost {PAC_IPNUMBER_EX}:443
|
||||||
|
|
||||||
|
<VirtualHost {PAC_IPNUMBER}:80 {PAC_IPNUMBER_EX}:80>
|
||||||
|
|
||||||
|
Redirect 404 /
|
||||||
|
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
|
<VirtualHost {PAC_IPNUMBER}:443 {PAC_IPNUMBER_EX}:443>
|
||||||
|
|
||||||
|
SSLEngine On
|
||||||
|
SSLCertificateFile /etc/apache2/pems/default.pem
|
||||||
|
SSLCertificateChainFile /etc/apache2/pems/default.chain.pem
|
||||||
|
SSLCertificateFile /etc/apache2/pems/{PAC}.pem
|
||||||
|
SSLCertificateChainFile /etc/apache2/pems/{PAC}.chain.pem
|
||||||
|
|
||||||
|
Redirect 404 /
|
||||||
|
|
||||||
|
</VirtualHost>
|
||||||
|
<!-- END: main -->
|
Loading…
Reference in New Issue
Block a user