mirror of
https://github.com/traefik/traefik.git
synced 2025-11-28 22:21:36 +01:00
Change port of traefik for error pages integration test
This commit is contained in:
parent
39eeb67d91
commit
e28ebf1c62
@ -39,7 +39,7 @@ func (s *ErrorPagesSuite) TestSimpleConfiguration(c *check.C) {
|
|||||||
c.Assert(err, checker.IsNil)
|
c.Assert(err, checker.IsNil)
|
||||||
defer cmd.Process.Kill()
|
defer cmd.Process.Kill()
|
||||||
|
|
||||||
frontendReq, err := http.NewRequest(http.MethodGet, "http://127.0.0.1:80", nil)
|
frontendReq, err := http.NewRequest(http.MethodGet, "http://127.0.0.1:8080", nil)
|
||||||
c.Assert(err, checker.IsNil)
|
c.Assert(err, checker.IsNil)
|
||||||
frontendReq.Host = "test.local"
|
frontendReq.Host = "test.local"
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ func (s *ErrorPagesSuite) TestErrorPage(c *check.C) {
|
|||||||
c.Assert(err, checker.IsNil)
|
c.Assert(err, checker.IsNil)
|
||||||
defer cmd.Process.Kill()
|
defer cmd.Process.Kill()
|
||||||
|
|
||||||
frontendReq, err := http.NewRequest(http.MethodGet, "http://127.0.0.1:80", nil)
|
frontendReq, err := http.NewRequest(http.MethodGet, "http://127.0.0.1:8080", nil)
|
||||||
c.Assert(err, checker.IsNil)
|
c.Assert(err, checker.IsNil)
|
||||||
frontendReq.Host = "test.local"
|
frontendReq.Host = "test.local"
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ logLevel = "DEBUG"
|
|||||||
|
|
||||||
[entryPoints]
|
[entryPoints]
|
||||||
[entryPoints.http]
|
[entryPoints.http]
|
||||||
address = ":80"
|
address = ":8080"
|
||||||
|
|
||||||
[file]
|
[file]
|
||||||
[backends]
|
[backends]
|
||||||
|
|||||||
@ -4,7 +4,7 @@ logLevel = "DEBUG"
|
|||||||
|
|
||||||
[entryPoints]
|
[entryPoints]
|
||||||
[entryPoints.http]
|
[entryPoints.http]
|
||||||
address = ":80"
|
address = ":8080"
|
||||||
|
|
||||||
[file]
|
[file]
|
||||||
[backends]
|
[backends]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user