NIFI 系统属性 System Properties之Web Properties

来源:互联网 发布:数据分析算法 知乎 编辑:程序博客网 时间:2024/06/05 13:30
Property Description nifi.web.war.directory web war包的目录. The default value is ./lib. nifi.web.http.host web 主机名称。默认空 nifi.web.http.port web端口 8080. nifi.web.http.port.forwarding 将传入的HTTP请求转发到nifi.web.http.host的端口。 此属性旨在用于端口转发,
当NiFi必须由非root用户启动以获得更好的安全性时,
则需要通过低端口访问才能通过防火墙。
例如,要在端口80上通过HTTP协议公开NiFi,但实际上在端口8080上侦听,
则需要配置将请求从80重定向到8080的操作系统级端口转发,
例如iptables(Linux / Unix)或pfctl(OS X)。
然后将nifi.web.http.port设置为8080,将nifi.web.http.port.forwarding设置为80.
默认为空。 nifi.web.http.network.interface* NiFi应为HTTP请求绑定的网络接口的名称。 这是默认的空白。
注:可以使用nifi.web.http.network.interface指定多个网络接口。
前缀具有唯一的后缀,并将网络接口名称分隔为值。
例如,要提供两个额外的网络接口,
用户还可以使用以下键指定其他属性:
nifi.web.http.network.interface.eth0=eth0
nifi.web.http.network.interface.eth1=eth1
提供三个完整的网络接口,包括nifi.web.http.network.interface.default。 nifi.web.https.host The HTTPS host. It is blank by default. nifi.web.https.port The HTTPS port. It is blank by default. When configuring NiFi to run securely,
this port should be configured. nifi.web.https.port.forwarding Same as nifi.web.http.port.forwarding, but with HTTPS for secure communication.
It is blank by default. nifi.web.https.network.interface* The name of the network interface to which NiFi should bind for HTTPS requests.
It is blank by default.
NOTE: Multiple network interfaces can be specified by using the
nifi.web.https.network.interface.
prefix with unique suffixes and separate network interface names as values.
For example, to provide two additional network interfaces, a user could also
specify additional properties with keys of:
nifi.web.https.network.interface.eth0=eth0
nifi.web.https.network.interface.eth1=eth1
Providing three total network interfaces, including
nifi.web.https.network.interface.default. nifi.web.jetty.working.directory Jetty工作目录的位置。 缺省值是./work/jetty。 nifi.web.jetty.threads Jetty线程的数量。 默认值是200。
阅读全文
0 0
原创粉丝点击