diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-06-18 11:13:12 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-06-18 11:13:12 -0600 |
commit | 6706c9225a8dcb976785bdf2c35eb151d54ac18c (patch) | |
tree | 1e278a1261e826d0bda3c924bd179aabd0af2e92 /cmd/caddy | |
parent | 5137859e47678aae81e178ca7d164f9e2b4e3121 (diff) |
Implement templates handler; various minor cleanups and bug fixes
Diffstat (limited to 'cmd/caddy')
-rw-r--r-- | cmd/caddy/main.go | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cmd/caddy/main.go b/cmd/caddy/main.go new file mode 100644 index 0000000..463b1b9 --- /dev/null +++ b/cmd/caddy/main.go @@ -0,0 +1,26 @@ +package main + +import ( + caddycmd "github.com/caddyserver/caddy/cmd" + + // this is where modules get plugged in + _ "github.com/caddyserver/caddy/modules/caddyhttp" + _ "github.com/caddyserver/caddy/modules/caddyhttp/caddylog" + _ "github.com/caddyserver/caddy/modules/caddyhttp/encode" + _ "github.com/caddyserver/caddy/modules/caddyhttp/encode/brotli" + _ "github.com/caddyserver/caddy/modules/caddyhttp/encode/gzip" + _ "github.com/caddyserver/caddy/modules/caddyhttp/encode/zstd" + _ "github.com/caddyserver/caddy/modules/caddyhttp/fileserver" + _ "github.com/caddyserver/caddy/modules/caddyhttp/headers" + _ "github.com/caddyserver/caddy/modules/caddyhttp/markdown" + _ "github.com/caddyserver/caddy/modules/caddyhttp/requestbody" + _ "github.com/caddyserver/caddy/modules/caddyhttp/reverseproxy" + _ "github.com/caddyserver/caddy/modules/caddyhttp/rewrite" + _ "github.com/caddyserver/caddy/modules/caddyhttp/templates" + _ "github.com/caddyserver/caddy/modules/caddytls" + _ "github.com/caddyserver/caddy/modules/caddytls/standardstek" +) + +func main() { + caddycmd.Main() +} |