diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2019-06-10 10:21:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-10 10:21:25 -0600 |
commit | f5b4f268dc73078467f19faf6068cc8047cabc7f (patch) | |
tree | bf44b5e31f83483c5f3e90762aa39452ec02f7d2 /cmd/caddy2 | |
parent | ef5f29cfb257c7503763a4b16947c4eb6a7864c3 (diff) |
Implement encode middleware (#2)
* Implement encode middleware
* Add missing break; and add missing JSON struct field tag
Diffstat (limited to 'cmd/caddy2')
-rw-r--r-- | cmd/caddy2/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/caddy2/main.go b/cmd/caddy2/main.go index d0289ec..9e1d47f 100644 --- a/cmd/caddy2/main.go +++ b/cmd/caddy2/main.go @@ -6,6 +6,8 @@ import ( // this is where modules get plugged in _ "github.com/caddyserver/caddy2/modules/caddyhttp" _ "github.com/caddyserver/caddy2/modules/caddyhttp/caddylog" + _ "github.com/caddyserver/caddy2/modules/caddyhttp/encode" + _ "github.com/caddyserver/caddy2/modules/caddyhttp/encode/gzip" _ "github.com/caddyserver/caddy2/modules/caddyhttp/fileserver" _ "github.com/caddyserver/caddy2/modules/caddyhttp/headers" _ "github.com/caddyserver/caddy2/modules/caddyhttp/markdown" |