mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
dd5157da84
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
34 lines
939 B
Plaintext
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>
|