Mercurial > repos > other > Puppet
view fileserver.conf @ 283:d29f477c51d4
Switch from IPs to hostnames for proxying
This should work, aaccording to the Mythic Beasts blog:
https://blog.mythic-beasts.com/2017/03/10/hosting-a-website-on-an-ipv6-pi-part-2-proxy-protocol/
and it's future-proof for IP changes
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 15 Feb 2020 20:11:23 +0000 |
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