X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fsecurity_mirror%2Fsecurity.debian.org.erb;h=130dca98104804535933926d85d949634fe987b9;hb=7f18f21c8a9d538bac4a1ae874b492a80f432623;hp=c5961ead404870a38a133a5cdb3ffe1fabf3babb;hpb=372685900fc51ce956bddc100bc534327946bb10;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/security_mirror/security.debian.org.erb b/modules/roles/templates/security_mirror/security.debian.org.erb index c5961ead4..130dca981 100644 --- a/modules/roles/templates/security_mirror/security.debian.org.erb +++ b/modules/roles/templates/security_mirror/security.debian.org.erb @@ -3,14 +3,6 @@ ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## - - IndexOptions NameWidth=* +SuppressDescription - Options +FollowSymLinks - Options +Indexes - FileETag MTime Size - Require all granted - - ServerAdmin debian-admin@debian.org DocumentRoot /srv/ftp.root/debian-security @@ -39,12 +31,21 @@ RewriteEngine on RewriteRule ^/$ http://www.debian.org/security/ - # Possible values include: debug, info, notice, warn, error, crit, - # alert, emerg. - LogLevel warn + #RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] + #RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront" + #<% if scope.function_onion_global_service_hostname(['security.debian.org']) -%> + #RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>" + #<% end %> + #RewriteRule ^/(pool/updates/main/l/linux/.*) http://security-cdn.debian.org/$1 [L,R=302] + #RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] + #RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront" + #<% if scope.function_onion_global_service_hostname(['security.debian.org']) -%> + #RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>" + #<% end %> + #RewriteRule ^/debian-security/(pool/updates/main/l/linux/.*) http://security-cdn.debian.org/$1 [L,R=302] CustomLog /var/log/apache2/security.debian.org-access.log privacy ServerSignature On -# vim: set ts=3 sw=3 et: +# vim:set syn=apache: