Thank you! I didn’t really know what to do from this comment but I found your other post here and took this example:
stream.example.com {
@not-local not remote_ip 192.168.1.0/24
basicauth @not-local {
user pw_hash
}
reverse_proxy 192.168.178.111:8080
}