Add a new protocol
Co-authored-by: Gérald Croës <gerald@containo.us>
This commit is contained in:
parent
0ca2149408
commit
4a68d29ce2
231 changed files with 6895 additions and 4395 deletions
|
@ -449,10 +449,10 @@ func (s *SimpleSuite) TestMultiprovider(c *check.C) {
|
|||
err = try.GetRequest("http://127.0.0.1:8080/api/providers/file/services", 1000*time.Millisecond, try.BodyContains("service"))
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
config := config.Configuration{
|
||||
config := config.HTTPConfiguration{
|
||||
Routers: map[string]*config.Router{
|
||||
"router1": {
|
||||
EntryPoints: []string{"http"},
|
||||
EntryPoints: []string{"web"},
|
||||
Middlewares: []string{"file.customheader"},
|
||||
Service: "file.service",
|
||||
Rule: "PathPrefix(`/`)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue