|
|
@ -15,23 +15,23 @@ |
|
|
|
package main |
|
|
|
|
|
|
|
import ( |
|
|
|
caddycmd "github.com/caddyserver/caddy/cmd" |
|
|
|
caddycmd "github.com/caddyserver/caddy/v2/cmd" |
|
|
|
|
|
|
|
// this is where modules get plugged in
|
|
|
|
_ "github.com/caddyserver/caddy/modules/caddyhttp" |
|
|
|
_ "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" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/brotli" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/gzip" |
|
|
|
_ "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/markdown" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/requestbody" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/rewrite" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/templates" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddytls" |
|
|
|
_ "github.com/caddyserver/caddy/v2/modules/caddytls/standardstek" |
|
|
|
) |
|
|
|
|
|
|
|
func main() { |
|
|
|