List all servers you need.
server server1 "${NIFI_INTERNAL_HOST1}":8443 ssl
server server2 "${NIFI_INTERNAL_HOST2}":8443 ssl
On Wed, Sep 6, 2023 at 10:35 AM Minh HUYNH <[email protected]> wrote:
> Thanks a lot for reply.
>
> Concerning redirection for one node. It is ok we got it.
>
> But how configure nifi and haproxy to point the cluster node, for instance
> cluster nodes "nifi01, nifi02, nifi03"
>
> regards
>
> Minh
>
>
>
> *Envoyé:* mercredi 6 septembre 2023 à 15:29
> *De:* "Juan Pablo Gardella" <[email protected]>
> *À:* [email protected]
> *Objet:* Re: Help : LoadBalancer
> I did that multiple times. Below is how I configured it:
>
> frontend http-in
> # bind ports section
> acl prefixed-with-nifi path_beg /nifi
> use_backend nifi if prefixed-with-nifi
> option forwardfor
>
> backend nifi
> server server1 "${NIFI_INTERNAL_HOST}":8443 ssl
>
>
>
> On Wed, Sep 6, 2023 at 9:40 AM Minh HUYNH <[email protected]> wrote:
>
>>
>> Hello,
>>
>> I have been trying long time ago to configure nifi cluster behind the
>> haproxy/loadbalancer
>> But until now, it is always failed.
>> I have only got access to the welcome page of nifi after all others links
>> are failed.
>>
>> If someone has the configuration, it is helpfull.
>>
>> Thanks a lot
>>
>> Regards
>>
>
>
>