Correct path to health check status and allow access to it
authorTollef Fog Heen <tfheen@err.no>
Sat, 30 Sep 2017 20:18:52 +0000 (22:18 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 30 Sep 2017 20:18:52 +0000 (22:18 +0200)
modules/roles/templates/apache-ftp.debian.org.erb

index e9cd923..73cdb95 100644 (file)
 
        RedirectMatch "^/$" /debian/
        Alias /debian/ <%= @archive_root %>/
-       Alias /_health /run/dsa/mirror-health/ftp.debian.org
+       Alias /_health /run/dsa-mirror-health-ftp/health
+       <Directory /run/dsa-mirror-health-ftp/>
+               Require all granted
+       </Directory>
 
        ErrorLog /var/log/apache2/ftp.debian.org-error.log
        CustomLog /var/log/apache2/ftp.debian.org-access.log privacy