Add health check on debian-debug archive backends
[mirror/dsa-puppet.git] / modules / roles / templates / apache-debug.mirrors.debian.org.erb
index 40dcc11..1ac6c65 100644 (file)
 
        RedirectMatch "^/$" /debian-debug/
        Alias /debian-debug <%= @archive_root %>
+       Alias /_health /run/dsa-mirror-health-debug/health
+       <Directory /run/dsa-mirror-health-debug/>
+               Require all granted
+       </Directory>
 
        ErrorLog /var/log/apache2/debug.mirrors.debian.org-error.log
        CustomLog /var/log/apache2/debug.mirrors.debian.org-access.log privacy