Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
oops, also update the Caddyfile's {query} var to use query_string
Matthew Holt committed
Aug 27, 2019 at 14:41 UTC
9d8bff28c2ba0560d98b545c85ddc7504813dca7
1 file changed
+1
-1
caddyconfig/httpcaddyfile/httptype.go
+1
-1
@@ -93,7 +93,7 @@ func (st ServerType) Setup(originalServerBlocks []caddyfile.ServerBlock,
93
"{scheme}", "{http.request.scheme}",
94
"{file}", "{http.request.uri.path.file}",
95
"{dir}", "{http.request.uri.path.dir}",
96
- "{query}", "{http.request.uri.query}",
96
+ "{query}", "{http.request.uri.query_string}",
97
)
98
for _, segment := range sb.block.Segments {
99
for i := 0; i < len(segment); i++ {