The ACL’s are usable only in the forentend / backend / listen section they were defined in.
Thus the error you receive is for the usage in the
frontend https_homes section, because the ACL in question
is_unifi is actually defined in
Thus, you’ll have to re-define the
is_unifi ACL also in the second frontend.
That said, I would strongly suggest merging the two frontends in a single one, with the two
bind statements. (To my knowledge in HAProxy this is the recommended way as opposed to NGinx/Apache.)
By quickly looking at your config, I think you can safely just merge the two sections without an issue.