@ -132,7 +132,7 @@
{% set values = {'2':'Redirect to','3':'Allow','4':'Deny'} %}
{% set values = {'2':'Redirect to','3':'Allow','4':'Deny'} %}
{{ select('listener_acl_then', name='acl_then', values=values, first='Choose action', class='force_close', disabled=false) }}
{{ select('listener_acl_then', name='acl_then', values=values, first='Choose action', class='force_close', disabled=false) }}
< b class = "padding10" > value< / b >
< b class = "padding10" > value< / b >
{{ input('frontend _acl_then_value', name='acl_then_value', title="Required if \'then\' is \'Use backend\' or \'Redirect\'") }}
{{ input('listener _acl_then_value', name='acl_then_value', title="Required if \'then\' is \'Use backend\' or \'Redirect\'") }}
< / p >
< / p >
< / span >
< / span >
< / div >
< / div >
@ -496,6 +496,31 @@
< / span >
< / span >
< / td >
< / td >
< / tr >
< / tr >
< tr class = "advance" >
< td class = "addName" title = "Access control list" > ACL: < / td >
< td class = "addOption" >
< span title = "Add ACL" id = "add_backend_acl" class = "link add-server" > < / span >
< div id = "backend_acl" style = "display: none;" >
< span id = "backend_acl_for_cloning" >
< b class = "padding10" > if< / b >
{{ select('backend_acl_if', name='acl_if', values=if_values, first='Choose if', class='force_close', disabled=false) }}
< b class = "padding10" > value< / b >
{{ input('backend_acl_value', name="acl_value") }}
< p style = "border-bottom: 1px solid #ddd; padding-bottom: 10px;" >
< b class = "padding10" > then< / b >
{% set values = dict() %}
{% set values = {'2':'Redirect to','3':'Allow','4':'Deny'} %}
{{ select('backend_acl_then', name='acl_then', values=values, first='Choose action', class='force_close', disabled=false) }}
< b class = "padding10" > value< / b >
{{ input('backend_acl_then_value', name='acl_then_value', title="Required if \'then\' is \'Use backend\' or \'Redirect\'") }}
< / p >
< / span >
< / div >
< span >
< a class = "link add-server" id = "backend_add_acl" title = "Add ACL" style = "cursor: pointer; display: none;" > < / a >
< / span >
< / td >
< / tr >
< tr class = "advance" >
< tr class = "advance" >
< td class = "addName" > < span title = "Cache support start 1.8 and latter" > Web acceleration(?):< / span > < / td >
< td class = "addName" > < span title = "Cache support start 1.8 and latter" > Web acceleration(?):< / span > < / td >
< td class = "addOption" >
< td class = "addOption" >
@ -618,7 +643,7 @@
< / select >
< / select >
< button id = "ssl_key_view" title = "View certificates" > View< / button >
< button id = "ssl_key_view" title = "View certificates" > View< / button >
< / td >
< / td >
< td >
< td colspan = "2" >
< span id = "ajax-show-ssl" > < / span >
< span id = "ajax-show-ssl" > < / span >
< / td >
< / td >
< / tr >
< / tr >
@ -926,7 +951,8 @@
< / table >
< / table >
< div id = "ajax" > < / div >
< div id = "ajax" > < / div >
< div class = "add-note addName alert-info" style = "width: inherit; margin-right: 15px;" >
< div class = "add-note addName alert-info" style = "width: inherit; margin-right: 15px;" >
In this section you can create and edit black and white lists. And after use them in the HAProxy configs or in the "Add proxy" pages
In this section you can create and edit black and white lists. And after use them in the HAProxy configs or in the "Add proxy" pages. Read how to use it in this
< a href = "https://haproxy-wi.org/howto.py?howto=blacklist" title = "How to create and manage blacklist" target = "_blank" > article< / a >
< / div >
< / div >
< div id = "dialog-confirm-cert-edit" title = "View certificate " style = "display: none;" >
< div id = "dialog-confirm-cert-edit" title = "View certificate " style = "display: none;" >
< span > < b > Note:< / b > Each new address must be specified from a new line< / span >
< span > < b > Note:< / b > Each new address must be specified from a new line< / span >
@ -940,6 +966,7 @@
< input type = "hidden" id = "group" value = "{{ group }}" >
< input type = "hidden" id = "group" value = "{{ group }}" >
< / div >
< / div >
< / div >
< / div >
{% include 'include/del_confirm.html' %}
< script >
< script >
$( function() {
$( function() {
$( ".force_close" ).selectmenu({
$( ".force_close" ).selectmenu({