Jeremy Stanley 6f726c3088 Serve Web site content
Add an Apache virtual host serving the content from
/var/lib/ptgbot/www over plain HTTP, with a configurable DNS name.

Change-Id: Idb1fc5273b67ab88e1c78578275969b04c781c7a
2017-07-06 20:49:04 +00:00

19 lines
513 B
Plaintext

# ************************************
# Managed by Puppet
# ************************************
<VirtualHost *:80>
ServerName <%= @vhost_name %>
DocumentRoot <%= @docroot %>
<Directory <%= @docroot %>>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Satisfy Any
Require all granted
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/<%= @vhost_name %>_error.log
CustomLog /var/log/apache2/<%= @vhost_name %>_access.log combined
ServerSignature Off
</VirtualHost>