Rabu, 09 Oktober 2019

How to config test haproxy config is valid

  Tidak ada komentar
The config test command
# haproxy -c -V -f /etc/haproxy/haproxy.cfg
Example when there is a warning
[root@localhost haproxy]# haproxy -c -V -f /etc/haproxy/haproxy.cfg
[WARNING] 281/142814 (148799) : Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear.
Configuration file is valid
[root@localhost haproxy]#
Example when the haproxy configuration is valid
[root@localhost haproxy]# haproxy -c -V -f /etc/haproxy/haproxy.cfg
Configuration file is valid
[root@localhost haproxy]#

Tidak ada komentar :

Posting Komentar