diff --git a/src/haterm_init.c b/src/haterm_init.c index 4b9e08786..f63a9a42b 100644 --- a/src/haterm_init.c +++ b/src/haterm_init.c @@ -438,7 +438,8 @@ void haproxy_init_args(int argc, char **argv) } hbuf_appendf(&gbuf, "global\n"); hbuf_appendf(&gbuf, "\ttune.memory.hot-size 3145728\n"); - hbuf_appendf(&gbuf, "\texpose-experimental-directives\n"); + if (has_ssl) + hbuf_appendf(&gbuf, "\texpose-experimental-directives\n"); } /* "global" section */