summaryrefslogtreecommitdiff
path: root/cmd/caddy
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/caddy')
-rw-r--r--cmd/caddy/main.go30
1 files changed, 15 insertions, 15 deletions
diff --git a/cmd/caddy/main.go b/cmd/caddy/main.go
index 03f5748..c1824d7 100644
--- a/cmd/caddy/main.go
+++ b/cmd/caddy/main.go
@@ -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() {