Fix SIV where /v2 was missing from caddyfile adapter work (#2721)

This commit is contained in:
Mohammed Al Sahaf 2019-08-22 21:26:48 +03:00 committed by Matt Holt
parent c0da7d487a
commit a0fd2b6c0a
3 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/caddyserver/caddy/caddyconfig/caddyfile" "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/modules/caddyhttp" "github.com/caddyserver/caddy/v2/modules/caddyhttp"
"github.com/mholt/certmagic" "github.com/mholt/certmagic"
) )

View File

@ -21,8 +21,8 @@ import (
"net/http" "net/http"
"reflect" "reflect"
"github.com/caddyserver/caddy/caddyconfig" "github.com/caddyserver/caddy/v2/caddyconfig"
"github.com/caddyserver/caddy/modules/caddyhttp" "github.com/caddyserver/caddy/v2/modules/caddyhttp"
"github.com/caddyserver/caddy/v2/modules/caddytls" "github.com/caddyserver/caddy/v2/modules/caddytls"
) )

View File

@ -17,7 +17,7 @@ package fileserver
import ( import (
"encoding/json" "encoding/json"
"github.com/caddyserver/caddy/modules/caddyhttp/rewrite" "github.com/caddyserver/caddy/v2/modules/caddyhttp/rewrite"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile" "github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/caddyserver/caddy/v2/modules/caddyhttp" "github.com/caddyserver/caddy/v2/modules/caddyhttp"
) )