File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
- "github.com/mholt /caddy/caddy/caddymain"
4
+ "github.com/caddyserver /caddy/caddy/caddymain"
5
5
6
6
_ "github.com/caddyserver/forwardproxy"
7
7
)
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
13
13
"testing"
14
14
"time"
15
15
16
- "github.com/mholt /caddy"
16
+ "github.com/caddyserver /caddy"
17
17
)
18
18
19
19
var credentialsEmpty = ""
@@ -95,7 +95,7 @@ func (c *caddyTestServer) marshal() []byte {
95
95
mainBlock = append (mainBlock , "}" )
96
96
if len (c .HTTPRedirectPort ) > 0 {
97
97
// TODO: this is not good enough, since `func redirPlaintextHost(cfg *SiteConfig) *SiteConfig`
98
- // https://github.com/mholt /caddy/blob/master/caddyhttp/httpserver/https.go#L142 can change in future
98
+ // https://github.com/caddyserver /caddy/blob/master/caddyhttp/httpserver/https.go#L142 can change in future
99
99
// and we won't know.
100
100
redirectBlock := []string {"http://*:" + c .HTTPRedirectPort + " {" ,
101
101
"redir https://" + c .addr + "{uri}" ,
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ import (
34
34
"sync"
35
35
"time"
36
36
37
+ "github.com/caddyserver/caddy/caddyhttp/httpserver"
37
38
"github.com/caddyserver/forwardproxy/httpclient"
38
- "github.com/mholt/caddy/caddyhttp/httpserver"
39
39
)
40
40
41
41
type ForwardProxy struct {
Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ import (
28
28
"testing"
29
29
"time"
30
30
31
+ _ "github.com/caddyserver/caddy/caddyhttp/header"
32
+ _ "github.com/caddyserver/caddy/caddyhttp/httpserver"
33
+ _ "github.com/caddyserver/caddy/caddyhttp/redirect"
34
+ _ "github.com/caddyserver/caddy/caddyhttp/root"
31
35
"github.com/caddyserver/forwardproxy/httpclient"
32
- _ "github.com/mholt/caddy/caddyhttp/header"
33
- _ "github.com/mholt/caddy/caddyhttp/httpserver"
34
- _ "github.com/mholt/caddy/caddyhttp/redirect"
35
- _ "github.com/mholt/caddy/caddyhttp/root"
36
36
"golang.org/x/net/http2"
37
37
)
38
38
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ import (
31
31
"sync"
32
32
"time"
33
33
34
+ "github.com/caddyserver/caddy"
35
+ "github.com/caddyserver/caddy/caddyhttp/httpserver"
34
36
"github.com/caddyserver/forwardproxy/httpclient"
35
- "github.com/mholt/caddy"
36
- "github.com/mholt/caddy/caddyhttp/httpserver"
37
37
"golang.org/x/net/proxy"
38
38
)
39
39
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ package forwardproxy
17
17
import (
18
18
"testing"
19
19
20
- "github.com/mholt /caddy"
20
+ "github.com/caddyserver /caddy"
21
21
)
22
22
23
23
func TestSetup (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments