Suppression complète de n0box2
This commit is contained in:
@@ -49,7 +49,6 @@ frontend http
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
use_backend http_default
|
||||
|
||||
frontend https
|
||||
mode tcp
|
||||
@@ -62,10 +61,9 @@ frontend https
|
||||
## {{ hostname }} configuration
|
||||
acl host_{{ hostname }} req.ssl_sni -i {{ hostname }}
|
||||
use_backend https_{{ server }} if host_{{ hostname }}
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
use_backend https_default
|
||||
|
||||
|
||||
{% for server in groups['webservers'] %}
|
||||
## {{ server }} configuration
|
||||
@@ -79,14 +77,6 @@ backend https_{{ server }}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
backend http_default
|
||||
mode http
|
||||
server host_n0box2 {{ lookup('dig', 'n0box2.mateu.be.', 'qtype=AAAA') }}:80
|
||||
|
||||
backend https_default
|
||||
mode tcp
|
||||
server host_n0box2 {{ lookup('dig', 'n0box2.mateu.be.', 'qtype=AAAA') }}:443
|
||||
|
||||
## Stats
|
||||
listen stats
|
||||
bind *:8080
|
||||
|
Reference in New Issue
Block a user