summaryrefslogtreecommitdiff
path: root/caddyconfig
diff options
context:
space:
mode:
authorMark Sargent <99003+sarge@users.noreply.github.com>2020-06-27 09:12:37 +1200
committerGitHub <noreply@github.com>2020-06-26 15:12:37 -0600
commit6004d3f779b8175d92d8eb7819ed800e8eddbff6 (patch)
treea21b7e73d65f75656745c82b6792dca59be57b72 /caddyconfig
parentcaca55e582c74e43338b270ebb5ff277c4404195 (diff)
caddyhttp: Add 'map' handler (#3199)
* inital map implementation * resolve the value during middleware execution * use regex instead * pr feedback * renamed mmap to maphandler * refactored GetString implementation * fixed mispelling * additional feedback
Diffstat (limited to 'caddyconfig')
-rw-r--r--caddyconfig/httpcaddyfile/directives.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go
index c9f4ad9..ee73078 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -37,6 +37,7 @@ import (
// The header directive goes second so that headers
// can be manipulated before doing redirects.
var directiveOrder = []string{
+ "map",
"root",
"header",