configuration examples for fork option

This commit is contained in:
Yves Rutschlé committed 2018-01-06 22:42:39 +00:00
1 parent 141e4b4f83
commit 2c3518beb4
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ listen:
protocols:
(
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; },
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; },
{ name: "openvpn"; host: "localhost"; port: "1194"; },
{ name: "xmpp"; host: "localhost"; port: "5222"; },
{ name: "http"; host: "localhost"; port: "80"; },
+3 -1
View File
@@ -39,6 +39,8 @@ listen:
# 1 to log each incoming connection
# keepalive: Should TCP keepalive be on or off for that
# connection (default is off)
# fork: Should a new process be forked for this protocol?
# (only useful for sslh-select)
#
# Probe-specific options:
# tls:
@@ -59,7 +61,7 @@ listen:
protocols:
(
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; keepalive: true; },
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; keepalive: true; fork: true; },
{ name: "http"; host: "localhost"; port: "80"; },
# match BOTH ALPN/SNI