mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
oops, also update the Caddyfile's {query} var to use query_string
This commit is contained in:
parent
d242f10eda
commit
9d8bff28c2
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ func (st ServerType) Setup(originalServerBlocks []caddyfile.ServerBlock,
|
||||||
"{scheme}", "{http.request.scheme}",
|
"{scheme}", "{http.request.scheme}",
|
||||||
"{file}", "{http.request.uri.path.file}",
|
"{file}", "{http.request.uri.path.file}",
|
||||||
"{dir}", "{http.request.uri.path.dir}",
|
"{dir}", "{http.request.uri.path.dir}",
|
||||||
"{query}", "{http.request.uri.query}",
|
"{query}", "{http.request.uri.query_string}",
|
||||||
)
|
)
|
||||||
for _, segment := range sb.block.Segments {
|
for _, segment := range sb.block.Segments {
|
||||||
for i := 0; i < len(segment); i++ {
|
for i := 0; i < len(segment); i++ {
|
||||||
|
|
Loading…
Reference in a new issue