view fileserver.conf @ 341:3a1b19f6a054

Add a "repeat offender" ban to Apache IP block We can now have multiple lists (currently hardcoded at two) so that expiring the instaban doesn't remove the longer repeat offence ban
author IBBoard <dev@ibboard.co.uk>
date Wed, 27 May 2020 19:00:28 +0100
parents 956e484adc12
children 2c3e745be8d2
line wrap: on
line source

# This file consists of arbitrarily named sections/modules
# defining where files are served from and to whom

# Define a section 'files'
# Adapt the allow/deny settings to your needs. Order
# for allow/deny does not matter, allow always takes precedence
# over deny
# [files]
#  path /var/lib/puppet/files
#  allow *.example.com
#  deny *.evil.example.com
#  allow 192.168.0.0/24
#[files]
#path    /etc/puppet/files
#allow *.ibboard.co.uk
#allow 127.0.0.1
#allow localhost

[private]
path	/etc/puppet/private
allow *.ibboard.co.uk
allow 127.0.0.1
allow localhost

[common]
path	/etc/puppet/common
allow *.ibboard.co.uk
allow 127.0.0.1
allow localhost