1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/www/mod_rpaf2/files/200_mod_rpaf.conf.sample.in
Jochen Neumeister dd5157da84 www/mod_rpaf: The mod_rpaf configuration sample contains an error which makes it non functional as installed.
While here fixed an error in PLIST_FILES and a portling warning.

PR:		233444
Reported by:	madpilot
Approved by:	brnrd (apache)
With hat:	apache
Differential Revision:	https://reviews.freebsd.org/D17573
2018-11-26 17:26:08 +00:00

34 lines
939 B
Plaintext

LoadModule rpaf_module %%APACHEMODDIR%%/mod_rpaf.so
<IfModule rpaf_module>
# Enable reverse proxy add forward
#RPAF_Enable On
# What IPs & bitmasked subnets to adjust requests for
#RPAF_ProxyIPs 127.0.0.1 10.0.0.0/24
# The header to use for the real IP address
#RPAF_Header X-Forwarded-For
# Update vhost name so ServerName & ServerAlias work
#RPAF_SetHostName Off
# Set the HTTPS environment variable
# to the header value contained in
# X-HTTPS, or X-Forwarded-HTTPS. For
# best results make sure that mod_ssl
# is NOT enabled.
#RPAF_SetHTTPS Off
# Set the server port to the header
# value contained in X-Port, or
# X-Forwarded-Port.
# (see https://github.com/gnif/mod_rpaf/issues/12)
#RPAF_SetPort Off
# Option to forbid request if not from
# trusted RPAF_ProxyIPs; otherwise
# cannot be done with Allow/Deny after
# remote addr substitution
#RPAF_ForbidIfNotProxy Off
</IfModule>