You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Kis (Jira)" <ji...@apache.org> on 2023/03/30 14:12:00 UTC

[jira] [Created] (NIFI-11366) MiNiFi/C2 - Support access via LB / Proxy

Ferenc Kis created NIFI-11366:
---------------------------------

             Summary: MiNiFi/C2 - Support access via LB / Proxy
                 Key: NIFI-11366
                 URL: https://issues.apache.org/jira/browse/NIFI-11366
             Project: Apache NiFi
          Issue Type: New Feature
          Components: C2, MiNiFi
            Reporter: Ferenc Kis
            Assignee: Ferenc Kis


While the Heartbeat and Acknowledge communication from the agents can be configured via reverse proxy / load balancer currently the agents are not aware of the host

For flow and asset download full urls are generated in the operation requests by the C2 server so the actual download happens via direct node access bypassing the proxy / LB.

For backwards compatibility we are not touching the existing configuration. We could introduce 3 new properties:

c2.rest.api=[http://c2host/c2-server/api|http://unsecure.cemcldr.link/]
c2.rest.path.hb=/heartbeat
c2.rest.path.ack=//acknowledge

If these are set then use them if not then fall back to the old properties and parse the host from there
h4.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)