X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fapache-ftp.ports.debian.org.erb;h=82bac2357c4c0bcedc35ab88ecd9e0438d28fd3f;hb=14fa2238b4275e88a87ccdc6a5fcb9c0d52a7ede;hp=5a060ce203617507f360a0e47e4a9e2e8e3786c8;hpb=0f978b5d766ecb41aaabd0042c090138da96c04a;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 5a060ce20..82bac2357 100644 --- a/modules/roles/templates/apache-ftp.ports.debian.org.erb +++ b/modules/roles/templates/apache-ftp.ports.debian.org.erb @@ -3,33 +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 - LogLevel warn - 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 - - Require all granted - IndexOptions NameWidth=* +SuppressDescription - Options +Indexes - Options +FollowSymLinks - - 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: