X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Froles%2Ftemplates%2Fapache-ftp.ports.debian.org.erb;h=82bac2357c4c0bcedc35ab88ecd9e0438d28fd3f;hb=14fa2238b4275e88a87ccdc6a5fcb9c0d52a7ede;hp=70a1144bca972fc4c3ea267158b5f98e1af0e863;hpb=9c873839fa4c610618be79d6eeeade3076248a6e;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/apache-ftp.ports.debian.org.erb b/modules/roles/templates/apache-ftp.ports.debian.org.erb index 70a1144bc..82bac2357 100644 --- a/modules/roles/templates/apache-ftp.ports.debian.org.erb +++ b/modules/roles/templates/apache-ftp.ports.debian.org.erb @@ -3,27 +3,25 @@ ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## - > - ServerAdmin debian-admin@debian.org - ServerName ftp.ports.debian.org - <% if scope.function_onion_global_service_hostname(['ftp.ports.debian.org']) -%> - ServerAlias <%= scope.function_onion_global_service_hostname(['ftp.ports.debian.org']) %> - <% end %> + > + ServerAdmin debian-admin@debian.org + ServerName ftp.ports.debian.org + <% if scope.function_onion_global_service_hostname(['ftp.ports.debian.org']) -%> + ServerAlias <%= scope.function_onion_global_service_hostname(['ftp.ports.debian.org']) %> + <% end %> - ErrorLog /var/log/apache2/ftp.ports.debian.org-error.log - CustomLog /var/log/apache2/ftp.ports.debian.org-access.log privacy + ErrorLog /var/log/apache2/ftp.ports.debian.org-error.log + CustomLog /var/log/apache2/ftp.ports.debian.org-access.log privacy - RedirectMatch "^/$" /debian-ports/ + RedirectMatch "^/$" /debian-ports/ - Alias /debian-ports /srv/mirrors/debian-ports - Use ftp-archive /srv/mirrors/debian-ports + Alias /debian-ports <%= @archive_root %> + Use ftp-archive <%= @archive_root %> - Alias /debian-ports-cd /srv/mirrors/debian-ports-cd - - Require all granted - IndexOptions NameWidth=* +SuppressDescription - Options +Indexes - Options +FollowSymLinks - + RedirectMatch "^/debian-ports-cd/.*$" https://cdimage.debian.org/cdimage/ports/ + + + UserDir disabled + # vim:set syn=apache: