Merge pull request #1589 from aledbf/master
Fix upstream vhost Equal comparison
This commit is contained in:
commit
cd37f96ba9
1 changed files with 3 additions and 0 deletions
|
@ -385,6 +385,9 @@ func (l1 *Location) Equal(l2 *Location) bool {
|
||||||
if l1.ClientBodyBufferSize != l2.ClientBodyBufferSize {
|
if l1.ClientBodyBufferSize != l2.ClientBodyBufferSize {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
if l1.UpstreamVhost != l2.UpstreamVhost {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue