Browse Source

oops, also update the Caddyfile's {query} var to use query_string

master
Matthew Holt 6 years ago
parent
commit
9d8bff28c2
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 2
      caddyconfig/httpcaddyfile/httptype.go

2
caddyconfig/httpcaddyfile/httptype.go

@ -93,7 +93,7 @@ func (st ServerType) Setup(originalServerBlocks []caddyfile.ServerBlock,
"{scheme}", "{http.request.scheme}",
"{file}", "{http.request.uri.path.file}",
"{dir}", "{http.request.uri.path.dir}",
"{query}", "{http.request.uri.query}",
"{query}", "{http.request.uri.query_string}",
)
for _, segment := range sb.block.Segments {
for i := 0; i < len(segment); i++ {

Loading…
Cancel
Save