proftpd-mod-proxy_protocol/debian/templates/proxy_protocol.conf

21 lines
702 B
Plaintext

#
# Proftpd sample configuration for mod_fsync.
<IfModule mod_proxy_protocol.c>
#The ProxyProtocolEngine directive enables the
#expectation and handling of protocols which provide
#information on proxied connections; support for these
#protocols is provided by mod_proxy_protocol.
ProxyProtocolEngine on
#The ProxyProtocolTimeout directive is used to configure
#the amount of time, in seconds, that mod_proxy_protocol
#will wait to receive the full expected proxy information.
#If the full information is not received within the given
#number of seconds, the connection to the client is closed.
ProxyProtocolTimeout 3sec
# Necessary to allow data transfers
AllowForeignAddress on
</IfModule>