Disable the http check in the portainer backend.
This commit is contained in:
parent
7eecbb912e
commit
975521d237
|
@ -231,10 +231,11 @@ backend swarm_api_bck
|
||||||
{% if docker_swarm_cluster_portainer_install %}
|
{% if docker_swarm_cluster_portainer_install %}
|
||||||
backend portainer_bck
|
backend portainer_bck
|
||||||
mode http
|
mode http
|
||||||
option httpchk
|
# No need to check until portainer can be replicated
|
||||||
http-check send meth HEAD uri / ver HTTP/1.1 hdr Host localhost
|
# option httpchk
|
||||||
http-check expect rstatus (2|3)[0-9][0-9]
|
# http-check send meth HEAD uri / ver HTTP/1.1 hdr Host localhost
|
||||||
balance roundrobin
|
# http-check expect rstatus (2|3)[0-9][0-9]
|
||||||
|
# balance roundrobin
|
||||||
http-request set-header X-Forwarded-Proto https if { ssl_fc }
|
http-request set-header X-Forwarded-Proto https if { ssl_fc }
|
||||||
http-request redirect scheme https code 301 unless { ssl_fc }
|
http-request redirect scheme https code 301 unless { ssl_fc }
|
||||||
server-template portainer- 1 portainer_portainer:{{ docker_swarm_portainer_http_port }} check resolvers docker init-addr libc,none
|
server-template portainer- 1 portainer_portainer:{{ docker_swarm_portainer_http_port }} check resolvers docker init-addr libc,none
|
||||||
|
|
Loading…
Reference in New Issue