Skip to content

Commit 77769c0

Browse files
committed
add missing allowedDirectives
1 parent fdb3c7f commit 77769c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caddy/caddy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func (f *FrankenPHPApp) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
258258
wc.Watch = append(wc.Watch, d.Val())
259259
}
260260
default:
261-
allowedDirectives := "file, num, env, watch"
261+
allowedDirectives := "name, file, num, env, watch"
262262
return wrongSubDirectiveError("worker", allowedDirectives, v)
263263
}
264264
}

0 commit comments

Comments
 (0)