Mercurial > repos > other > Puppet
view common/logrotate-httpd @ 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 |
line wrap: on
line source
/var/log/apache/*log { monthly rotate 3 missingok compress notifempty sharedscripts postrotate /sbin/service httpd reload > /dev/null 2>/dev/null || true endscript }