如何在nifi中将主机头列入白名单? [英] how to whitelist host header in nifi?
问题描述
尝试从负载均衡器访问 nifi 时,在 eks 集群中部署 nifi 出现以下错误:
Deployed the nifi in eks cluster when tried to access the nifi from loadbalancer gives following error:
系统错误
请求 [/nifi] 中包含无效的主机头 [abc.com].
The request contained an invalid host header [abc.com] in the request [/nifi].
检查请求操纵或第三方拦截.
Check for request manipulation or third-party intercept.
有效的主机头为 [空] 或:
Valid host headers are [empty] or:
127.0.0.1127.0.0.1:8443本地主机本地主机:8443::1nifi-deployment-59494c46dc-v4kk6nifi-deployment-59494c46dc-v4kk6:8443172.35.3.165172.35.3.165:8443
127.0.0.1 127.0.0.1:8443 localhost localhost:8443 ::1 nifi-deployment-59494c46dc-v4kk6 nifi-deployment-59494c46dc-v4kk6:8443 172.35.3.165 172.35.3.165:8443
如何在 nifi 的主机头检查中将负载均衡器 dns 名称列入白名单.
How to whitelist loadbalancer dns name in host header check of nifi.
推荐答案
管理指南的本节末尾解释了主机头:
The end of this section from the admin guide explains the host header:
https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#proxy_configuration
这篇关于如何在nifi中将主机头列入白名单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!