summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/standard
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 /modules/caddyhttp/standard
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 'modules/caddyhttp/standard')
-rw-r--r--modules/caddyhttp/standard/imports.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/standard/imports.go b/modules/caddyhttp/standard/imports.go
index a0ccf6e..dabec81 100644
--- a/modules/caddyhttp/standard/imports.go
+++ b/modules/caddyhttp/standard/imports.go
@@ -9,6 +9,7 @@ import (
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/zstd"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/fileserver"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/headers"
+ _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/map"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/requestbody"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/fastcgi"