-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow configuring RemoteIPProxyProtocol at VHost level
The module currently support configuring RemoteIP PROXY Protocol at the system level, but the settings can also be used for specific virtual hosts. Allow to set `RemoteIPProxyProtocol` and `RemoteIPProxyProtocolExceptions` at the VHost level. For cosistency, une the same parameter names and types as the ones used for mod_remoteip configuration.
- Loading branch information
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<%- | | ||
Boolean $proxy_protocol, | ||
Array[Stdlib::Host] $proxy_protocol_exceptions, | ||
| -%> | ||
RemoteIPProxyProtocol <%= apache::bool2httpd($proxy_protocol) %> | ||
<% $proxy_protocol_exceptions.each |$exception| { -%> | ||
RemoteIPProxyProtocolExceptions <%= $exception %> | ||
<% } %> |