Merge pull request #1589 from aledbf/master

Fix upstream vhost Equal comparison
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-10-25 19:18:54 -03:00 committed by GitHub
commit cd37f96ba9

View file

@ -385,6 +385,9 @@ func (l1 *Location) Equal(l2 *Location) bool {
if l1.ClientBodyBufferSize != l2.ClientBodyBufferSize {
return false
}
if l1.UpstreamVhost != l2.UpstreamVhost {
return false
}
return true
}