We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce36776 commit cdb09c4Copy full SHA for cdb09c4
functions
@@ -49,7 +49,6 @@ monit_reload() {
49
}
50
51
monit_enable() {
52
-
53
config_set --no-restart "$1" "MONIT_ENABLED=true"
54
55
templates/monit.sigil
@@ -4,7 +4,7 @@ check host {{ .APP }} with address {{ .ADDRESS }}
4
if failed
5
port {{ default 80 .PORT }}
6
protocol {{ .SCHEME }}
7
- http headers [Host: {{ .DOMAIN }}]
+ {{ if .DOMAIN }}http headers [Host: {{ .DOMAIN }}]{{ end }}
8
request "{{ default "/" .REQUEST }}"
9
{{ if .CONTENT }}content = "{{ .CONTENT }}"{{ end }}
10
for {{ default 2 .RESTART_CYCLES }} cycles
0 commit comments