Skip to content

Commit

Permalink
Add the sorry_server directive support
Browse files Browse the repository at this point in the history
Cf keepalived/doc/samples/keepalived.conf.sample in keepalived source.
  • Loading branch information
Olm666 authored Jan 28, 2022
1 parent 1351e46 commit 59de04a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/keepalived.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ virtual_server {{ vserver.ip }} {{ vserver.port }} {
{% include './templates/keepalived-checks.j2' %}
}
{% endfor %}
{% if vserver.sorry_server is defined %}
sorry_server {{ vserver.sorry_server.ip }} {{ vserver.sorry_server.port }}
{% endif %}

}
{% endfor %}
Expand Down

0 comments on commit 59de04a

Please sign in to comment.