X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fapache-ftp.debian.org.erb;h=73cdb95595d16de694e5d75e0886bad5c7b49399;hb=e5032b441cd09355ff1b7f8c7b27e75d45fa68c5;hp=98841dc7e409de278d373d5380e097763b4b7886;hpb=bb6fa3a8749bd6860ec6f167d62db9119434886a;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/apache-ftp.debian.org.erb b/modules/roles/templates/apache-ftp.debian.org.erb index 98841dc7e..73cdb9559 100644 --- a/modules/roles/templates/apache-ftp.debian.org.erb +++ b/modules/roles/templates/apache-ftp.debian.org.erb @@ -3,20 +3,33 @@ ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## -> - ServerAdmin webmaster@debian.org - ServerName ftp.debian.org - <% if scope.function_onion_global_service_hostname(['ftp.debian.org']) -%> - ServerAlias <%= scope.function_onion_global_service_hostname(['ftp.debian.org']) %> - <% end %> +> + ServerAdmin debian-admin@debian.org + ServerName ftp.debian.org + ServerAlias debian.anycast-test.mirrors.debian.org + <% if scope.function_onion_global_service_hostname(['ftp.debian.org']) -%> + ServerAlias <%= scope.function_onion_global_service_hostname(['ftp.debian.org']) %> + <% end %> + ServerAlias debian.backend.mirrors.debian.org + ServerAlias *.debian.backend.mirrors.debian.org - RedirectMatch "^/$" /debian/ - Alias /debian/ <%= archive_root >/ + AddCharset UTF-8 .txt - ErrorLog /var/log/apache2/ftp.debian.org-error.log - CustomLog /var/log/apache2/ftp.debian.org-access.log privacy + RedirectMatch "^/$" /debian/ + Alias /debian/ <%= @archive_root %>/ + Alias /_health /run/dsa-mirror-health-ftp/health + + Require all granted + - Use ftp-archive <%= archive_root > + ErrorLog /var/log/apache2/ftp.debian.org-error.log + CustomLog /var/log/apache2/ftp.debian.org-access.log privacy + + Use ftp-archive <%= @archive_root %> + + + UserDir disabled + # vim:set syn=apache: