如何解决一个NiFi节点可以有多个主机名吗?
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!)
- 表达该问题的另一种方法是如上所述,如何将更多主机名添加到“有效主机头”列表中。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。