diff options
Diffstat (limited to 'roles/apt_repository/templates/apache-http.conf')
-rw-r--r-- | roles/apt_repository/templates/apache-http.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/apt_repository/templates/apache-http.conf b/roles/apt_repository/templates/apache-http.conf new file mode 100644 index 0000000..bb2eb2e --- /dev/null +++ b/roles/apt_repository/templates/apache-http.conf @@ -0,0 +1,18 @@ +<VirtualHost _default_:80> + ServerAdmin {{ apt_admin_email }} + + DocumentRoot /srv/http + Alias "/debian" "/srv/apt" + + <Directory /srv/http> + Require all granted + </Directory> + + <Directory /srv/apt> + Options +Indexes + Require all granted + </Directory> + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined +</VirtualHost> |