Commit b9806b82 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Add more optional fields to httpcheck plugin config

parent 8492bc7d
......@@ -103,8 +103,14 @@ redirect: no
{{ item.name|to_uuid }}:
name: {{ item.name }}
url: {{ item.url }}
{% if item.method is defined %}
method: {{ item.method }}
{% endif %}
{% if item.body is defined %}
body: {{ item.body }}
{% endif %}
{% if item.regex is defined %}
regex: '{{ item.regex|regex_escape() }}'
regex: {{ item.regex|regex_escape() }}
{% endif %}
{% if item.redirect|default(false) %}
redirect: yes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment