redis.conf详解之tls-port

2021-11-23  本文已影响0人  小易哥学呀学

redis.conf配置总纲

用法

只接受TLS端口,禁用非TLS端口

port 0
tls-port 6379

TLS端口,非TLS端口均接受

port 6378
tls-port 6379

 

用途

用于指定TLS侦听端口。
 

注意事项

原生注释

# By default, TLS/SSL is disabled. To enable it, the "tls-port" configuration
# directive can be used to define TLS-listening ports. To enable TLS on the
# default port, use:
#
#port 0
#tls-port 6379
上一篇下一篇

猜你喜欢

热点阅读