puppet-infracloud/templates/logs.vhost.erb
Yolanda Robla 62f3dca531 Fix warning on infracloud vhost template
Change-Id: I7f142c25cd77bf31b0a76e36f5c65c92a76af747
2016-06-28 11:05:06 +02:00

20 lines
632 B
Plaintext

# ************************************
# Managed by Puppet
# ************************************
<VirtualHost <%= @vhost_name %>:<%= @port %>>
DocumentRoot <%= @docroot %>
<Directory <%= @docroot %>>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
ErrorLog /var/log/<%= scope.lookupvar("::apache::params::apache_name") %>/<%= @name %>_error.log
LogLevel warn
CustomLog /var/log/<%= scope.lookupvar("::apache::params::apache_name") %>/<%= @name %>_access.log combined
ServerSignature Off
AddType text/plain .log
</VirtualHost>