summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/staticresp.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-01-22 09:32:38 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-01-22 09:32:38 -0700
commitd810637a9fe2d2015b1f5ad701fdc23f26dda66a (patch)
tree10c402a69a10b17a19d50f971caa78f835930852 /modules/caddyhttp/staticresp.go
parent5d3ccf1eb79c47c1da37836b60903f26693b8018 (diff)
httpcaddyfile: Update directive docs; put root after rewrite
Diffstat (limited to 'modules/caddyhttp/staticresp.go')
-rw-r--r--modules/caddyhttp/staticresp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/staticresp.go b/modules/caddyhttp/staticresp.go
index 777ecb2..3841a26 100644
--- a/modules/caddyhttp/staticresp.go
+++ b/modules/caddyhttp/staticresp.go
@@ -54,7 +54,7 @@ func (StaticResponse) CaddyModule() caddy.ModuleInfo {
// UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax:
//
-// respond [<matcher>] [<status>|[<body> [<status>]] {
+// respond [<matcher>] <status>|<body> [<status>] {
// body <text>
// close
// }