Add multiple entry points support, add entry point redirection

This commit is contained in:
emile
2016-01-29 20:34:17 +01:00
parent bb3b9f61cd
commit c22598c8ff
9 changed files with 366 additions and 145 deletions

View File

@@ -36,6 +36,7 @@ type Route struct {
// Frontend holds frontend configuration.
type Frontend struct {
EntryPoints []string `json:"entryPoints,omitempty"`
Backend string `json:"backend,omitempty"`
Routes map[string]Route `json:"routes,omitempty"`
PassHostHeader bool `json:"passHostHeader,omitempty"`