X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fapache-ftp.ports.debian.org.erb;h=a9d4058e43687b2dcb18ae5b1c9549cf5dfff0f3;hb=f6dc09c573b7a8fe5c9a0f07cfb7ac49d827f67e;hp=285d00872334152ee591e0d3647e96f9a24c5693;hpb=3e28626c0045fcd35bf02f8bddcdf5a273d0fdb2;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 285d00872..a9d4058e4 100644 --- a/modules/roles/templates/apache-ftp.ports.debian.org.erb +++ b/modules/roles/templates/apache-ftp.ports.debian.org.erb @@ -3,32 +3,30 @@ ## 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 - - - ErrorLog /var/log/apache2/ftp.ports.debian.org-error.log - LogLevel warn - CustomLog /var/log/apache2/ftp.ports.debian.org-access.log privacy - - RedirectMatch "^/$" /debian-ports/ - - Alias /debian-ports /srv/mirrors/debian-ports - - Require all granted - IndexOptions NameWidth=* +SuppressDescription - Options +Indexes - Options +FollowSymLinks - - - Alias /debian-ports-cd /srv/mirrors/debian-ports-cd - - Require all granted - IndexOptions NameWidth=* +SuppressDescription - Options +Indexes - Options +FollowSymLinks - + > + 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 + + RedirectMatch "^/$" /debian-ports/ + + Alias /debian-ports /srv/mirrors/debian-ports + Use ftp-archive /srv/mirrors/debian-ports + + Alias /debian-ports-cd /srv/mirrors/debian-ports-cd + + Require all granted + Options +Indexes + Options +FollowSymLinks + + + + UserDir disabled + - - +# vim:set syn=apache: