diff --git a/plist b/plist index 7fc38f33d..d50c93539 100644 --- a/plist +++ b/plist @@ -59,6 +59,8 @@ /usr/local/etc/inc/xmlrpc/test.inc /usr/local/etc/ipsec.opnsense.d/README /usr/local/etc/ipsec.secrets.opnsense.d/README +/usr/local/etc/lighttpd_webgui/conf.d/README +/usr/local/etc/lighttpd_webgui/conf.d/extforward.conf.example /usr/local/etc/netflow.conf.example /usr/local/etc/pkg/fingerprints/OPNsense/revoked/opnsense-update.deciso.com.20160725 /usr/local/etc/pkg/fingerprints/OPNsense/revoked/opnsense-update.deciso.com.20170721 diff --git a/src/etc/lighttpd_webgui/conf.d/README b/src/etc/lighttpd_webgui/conf.d/README index 75e7dfbec..fa8a7f8a8 100644 --- a/src/etc/lighttpd_webgui/conf.d/README +++ b/src/etc/lighttpd_webgui/conf.d/README @@ -14,7 +14,7 @@ To use the functionality of this directory: - if necessary, enable the applicable lighttpd module in that file by including: server.modules += ( "mod_[NAME]" ) - + (for example: server.modules += ( "mod_extforward" ) - specify the relevant configurations for the module, according to the lighttpd documentation diff --git a/src/etc/lighttpd_webgui/conf.d/extforward.conf.example b/src/etc/lighttpd_webgui/conf.d/extforward.conf.example index 0f21d4627..ea28b7433 100644 --- a/src/etc/lighttpd_webgui/conf.d/extforward.conf.example +++ b/src/etc/lighttpd_webgui/conf.d/extforward.conf.example @@ -26,9 +26,9 @@ extforward.headers = ( "X-Forwarded-For", "Forwarded-For", "X-Real-IP" ) ## Specify the trusted IPs of the reverse proxy server, comma separated ## For example, to trust the IPs 10.0.0.1 and fd00:1234:abcd:efgh::1 ## -extforward.forwarder = ( - "10.0.0.1" => "trust", - "fd00:1234:abcd:efgh::1" => "trust" +extforward.forwarder = ( + "10.0.0.1" => "trust", + "fd00:1234:abcd:efgh::1" => "trust" ) ##