Apache nifi 一个NiFi节点可以有多个主机名吗? 问题: 无法为单个NiFi节点允许多个主机名。 说明: 我有一台内部计算机名为“NiFi-1”的内部NiFi服务器。nifi.properties具有以下特性: nifi.web.https.host=0.0.0.0

Apache nifi 一个NiFi节点可以有多个主机名吗? 问题: 无法为单个NiFi节点允许多个主机名。 说明: 我有一台内部计算机名为“NiFi-1”的内部NiFi服务器。nifi.properties具有以下特性: nifi.web.https.host=0.0.0.0 ,apache-nifi,Apache Nifi,一个NiFi节点可以有多个主机名吗? 问题: 无法为单个NiFi节点允许多个主机名。 说明: 我有一台内部计算机名为“NiFi-1”的内部NiFi服务器。nifi.properties具有以下特性: nifi.web.https.host=0.0.0.0 nifi.web.https.port=9443 当我击中时,它工作正常”https://nifi-1:9443/nifi/“内部。 我有另一个dns名称-“nifi-1.company.com”(必须支持这两个名称),它被路由到同一个nifi

一个NiFi节点可以有多个主机名吗? 问题: 无法为单个NiFi节点允许多个主机名。 说明: 我有一台内部计算机名为“NiFi-1”的内部NiFi服务器。nifi.properties具有以下特性: nifi.web.https.host=0.0.0.0 nifi.web.https.port=9443 当我击中时,它工作正常”https://nifi-1:9443/nifi/“内部。 我有另一个dns名称-“nifi-1.company.com”(必须支持这两个名称),它被路由到同一个nifi节点。当我点击时,nifi节点拒绝,并显示以下错误消息“https://nifi-1.company.com:9443/nifi/": 系统错误 请求[/nifi]中包含无效的主机头[nifi-1.company.com:9443]。检查请求操纵或第三方拦截。 有效的主机头为[空]或: 127.0.0.1 127.0.0.1:9443 本地服务器 本地主机:9443 [::1] [::1]:9443 nifi-1 nifi-1:9443 10.0.1.82 10.0.1.82:9443 0.0.0.0 0.0.0.0:9443 问题: 如何解决这个问题?有什么解决办法吗?(谢谢!)
  • 另一种表达问题的方式是如何在“有效主机头”列表中添加更多主机名,如上所述
重复?复制品? Problem: Not able to allow multiple host names for one single NiFi node. Description: I have an internal NiFi server with internal computer name 'nifi-1'. nifi.properties has the following: nifi.web.https.host=0.0.0.0 nifi.web.https.port=9443 This works fine when I hit "https://nifi-1:9443/nifi/" internally. I have another dns name - "nifi-1.company.com" (both names must be supported) that is routed to the same nifi node. The nifi node rejects with the following error messages when I hit "https://nifi-1.company.com:9443/nifi/": System Error The request contained an invalid host header [nifi-1.company.com:9443] in the request [/nifi]. Check for request manipulation or third-party intercept. Valid host headers are [empty] or: 127.0.0.1 127.0.0.1:9443 localhost localhost:9443 [::1] [::1]:9443 nifi-1 nifi-1:9443 10.0.1.82 10.0.1.82:9443 0.0.0.0 0.0.0.0:9443 Question: How to resolve this problem? Any solutions? (Thanks!)