mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 08:56:23 -04:00
Merge pull request #15 from fraenki/haproxy_xfwd
net/haproxy: fix option to add X-Forwarded-For header
This commit is contained in:
commit
d94d9fffa8
3 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PLUGIN_NAME= haproxy
|
||||
PLUGIN_VERSION= 1.1
|
||||
PLUGIN_VERSION= 1.2
|
||||
PLUGIN_COMMENT= Reliable, high performance TCP/HTTP load balancer
|
||||
PLUGIN_DEPENDS= haproxy
|
||||
PLUGIN_MAINTAINER= opnsense@moov.de
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
name: opnsense-haproxy
|
||||
version: 1.1
|
||||
version: 1.2
|
||||
origin: opnsense/haproxy
|
||||
comment: load balancer
|
||||
desc: Reliable, high performance TCP/HTTP load balancer
|
||||
|
|
|
|||
|
|
@ -554,6 +554,9 @@ frontend {{frontend.name}}
|
|||
{% if frontend.defaultBackend|default("") != "" %}
|
||||
{% set backend_data = helpers.getUUID(frontend.defaultBackend) %}
|
||||
default_backend {{backend_data.name}}
|
||||
{% endif %}
|
||||
{% if frontend.forwardFor == '1' %}
|
||||
option forwardfor
|
||||
{% endif %}
|
||||
# tuning options
|
||||
{% if frontend.tuning_maxConnections is defined %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue