pixelfed/pixelfed

View on GitHub
docker/apache/root/etc/apache2/conf-available/remoteip.conf

Summary

Maintainability
Test Coverage
RemoteIPHeader X-Real-IP

# All private IPs as outlined in rfc1918
#
# See: https://datatracker.ietf.org/doc/html/rfc1918
RemoteIPTrustedProxy 10.0.0.0/8
RemoteIPTrustedProxy 172.16.0.0/12
RemoteIPTrustedProxy 192.168.0.0/16