如何在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.
有效的主机标头为[empty]或:
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屋!