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=130dca98104804535933926d85d949634fe987b9;hb=48908338734a85831696849f15ae9f1019358648;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..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,25 +31,21 @@
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
+ #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: