
According to https://wiki.apache.org/httpd/CommonMisconfigurations is is wrong to specify server name in opening tag. ServerName should be used instead. Indentations also fixed in some files. Change-Id: Id9d20a672103221efa01be61a174b62706036e57
24 lines
720 B
Plaintext
24 lines
720 B
Plaintext
<VirtualHost *:80>
|
|
ServerName <%= scope.lookupvar("nodepool::vhost_name") %>
|
|
|
|
DocumentRoot <%= scope.lookupvar("nodepool::image_log_document_root") %>
|
|
<Directory <%= scope.lookupvar("nodepool::image_log_document_root") %>>
|
|
Options <%= scope.lookupvar("apache::params::options") %>
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/nodepool_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/nodepool_access.log combined
|
|
ServerSignature Off
|
|
|
|
AddType text/plain .log
|
|
|
|
<IfModule mod_deflate.c>
|
|
SetOutputFilter DEFLATE
|
|
</IfModule>
|
|
|
|
</VirtualHost>
|