X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Froles%2Ftemplates%2Fsecurity_mirror%2Fsecurity.debian.org.erb;h=95d067ad65db65d454cb24845b56c214a91c6641;hb=1e92eaa0c47785f00735ef79c91d21762f88572e;hp=1724b82b97677257c7cbb29cc06b5124a8ddc90d;hpb=80157d07c8cbe9cb187308b8a6012006de623a8e;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 1724b82b9..95d067ad6 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
@@ -28,6 +20,9 @@
<% if scope.function_onion_global_service_hostname(['security.debian.org']) -%>
ServerAlias <%= scope.function_onion_global_service_hostname(['security.debian.org']) %>
<% end %>
+ ServerAlias security.backend.mirrors.debian.org
+ ServerAlias *.security.backend.mirrors.debian.org
+ ServerAlias security.anycast-test.mirrors.debian.org
ExpiresActive On
@@ -37,27 +32,23 @@
Use ftp-archive /srv/ftp.root/debian-security
RewriteEngine on
- RewriteRule ^/$ http://www.debian.org/security/
-
- 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]
-
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
+ RewriteRule ^/$ https://www.debian.org/security/
+
+ #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: