[ https://issues.apache.org/jira/browse/NIFI-11366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17710861#comment-17710861 ]
ASF subversion and git services commented on NIFI-11366: -------------------------------------------------------- Commit d84ce836541266ce930bf12f32df2ecb035ac23f in nifi's branch refs/heads/main from Ferenc Kis [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d84ce83654 ] NIFI-11366 Proxy aware C2 communication Signed-off-by: Ferenc Erdei <fer...@cloudera.com> This closes #7125 > 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 > Priority: Major > Labels: minifi-java > Time Spent: 2h 40m > Remaining Estimate: 0h > > 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)