X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fapache-ftp.debian.org.erb;h=8f942ec997f7d92d04d6a3dd22608655257ef3ed;hb=0bcb056d5c1c92e14868983974e137f6e8d00ce9;hp=0475c0348b2e37567949fbabdd2f314c89b47ccf;hpb=1aef32ebbf34d9045610f61baddbabe0384e09f1;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 0475c0348..8f942ec99 100644 --- a/modules/roles/templates/apache-ftp.debian.org.erb +++ b/modules/roles/templates/apache-ftp.debian.org.erb @@ -3,18 +3,34 @@ ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## - - ServerAdmin webmaster@debian.org - DocumentRoot /srv/ftp.debian.org/ftp.root - 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 %> + 127.0.0.1:80 [::1]:80 > + 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 - ErrorLog /var/log/apache2/ftp.debian.org-error.log - CustomLog /var/log/apache2/ftp.debian.org-access.log privacy + AddCharset UTF-8 .txt - Use ftp-archive /srv/ftp.debian.org/ftp.root/debian + RedirectMatch "^/$" /debian/ + RedirectMatch "^/debian$" /debian/ + Alias /debian/ <%= @archive_root %>/ + Alias /_health /run/dsa-mirror-health-ftp/health + + Require all granted + + + 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: