mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-12 15:17:14 +03:00
Make basic.cfg more useful (fix #438)
This commit is contained in:
parent
d2ca706f86
commit
de7351fd84
@ -11,9 +11,13 @@ pidfile: "/var/run/sslh.pid";
|
|||||||
|
|
||||||
# Change hostname with your external address name, or the IP
|
# Change hostname with your external address name, or the IP
|
||||||
# of the interface that receives connections
|
# of the interface that receives connections
|
||||||
|
# Default is to bind all interfaces. httpd can be started
|
||||||
|
# first to bind on localhost, in which case sslh will bind
|
||||||
|
# only other interfaces.
|
||||||
listen:
|
listen:
|
||||||
(
|
(
|
||||||
{ host: "thelonious"; port: "443"; }
|
{ host: "0.0.0.0"; port: "443"; },
|
||||||
|
{ host: "[::]"; port: "443"; }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -24,8 +28,6 @@ protocols:
|
|||||||
(
|
(
|
||||||
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; },
|
{ name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; },
|
||||||
{ name: "openvpn"; host: "localhost"; port: "1194"; },
|
{ name: "openvpn"; host: "localhost"; port: "1194"; },
|
||||||
{ name: "xmpp"; host: "localhost"; port: "5222"; },
|
|
||||||
{ name: "http"; host: "localhost"; port: "80"; },
|
|
||||||
{ name: "tls"; host: "localhost"; port: "443"; log_level: 0; },
|
{ name: "tls"; host: "localhost"; port: "443"; log_level: 0; },
|
||||||
{ name: "anyprot"; host: "localhost"; port: "443"; }
|
{ name: "anyprot"; host: "localhost"; port: "443"; }
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user