try apache rate limiting on snapshot hosts
authorPeter Palfrader <peter@palfrader.org>
Fri, 1 Jun 2018 15:02:38 +0000 (17:02 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 1 Jun 2018 15:02:38 +0000 (17:02 +0200)
modules/apache2/manifests/dynamic.pp
modules/roles/manifests/snapshot_web.pp

index f5a357f..a07347a 100644 (file)
@@ -75,6 +75,6 @@ class apache2::dynamic {
        @ferm::rule { 'dsa-http':
                prio        => '23',
                description => 'Allow web access',
-               rule        => 'proto tcp dport (http https) jump http'
+               rule        => 'proto tcp dport (http https 6081) jump http'
        }
 }
index ee9ab94..582f507 100644 (file)
@@ -1,5 +1,6 @@
 class roles::snapshot_web {
        include apache2
+       include apache2::dynamic
        include apache2::rewrite
 
        ensure_packages ( [