Adding httpchk options
All checks were successful
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 37s
All checks were successful
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 37s
This commit is contained in:
parent
748ae8a4b7
commit
c27f7fb5e8
@ -1,6 +1,7 @@
|
||||
|
||||
backend {{ name }}-backend
|
||||
option forwardfor
|
||||
option httpchk
|
||||
http-request add-header X-CLIENT-IP %[src]
|
||||
{% if ssl_enabled %}http-request set-header X-Forwarded-Proto https if { ssl_fc }{% endif %}
|
||||
{% for server in servers %}server {{ server.server_name }} {{ server.server_address }}:{{ server.server_port }} {{ server.server_options }}{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user