Simplify port mapping of endpoints
This commit is contained in:
parent
8bf7007c40
commit
996c769080
3 changed files with 52 additions and 35 deletions
|
|
@ -82,8 +82,9 @@ func (c ServerByName) Less(i, j int) bool {
|
|||
|
||||
// Location describes an NGINX location
|
||||
type Location struct {
|
||||
Path string
|
||||
Upstream Upstream
|
||||
Path string
|
||||
IsDefBackend bool
|
||||
Upstream Upstream
|
||||
}
|
||||
|
||||
// LocationByPath sorts location by path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue