services.sslh.method
The method to use for handling connections:
-
forkforks a new process for each incoming connection. It is well-tested and very reliable, but incurs the overhead of many processes. -
selectuses only one thread, which monitors all connections at once. It has lower overhead per connection, but if it stops, you'll lose all connections. -
evis implemented using libev, it's similar toselectbut scales better to a large number of connections.
- Type
one of "fork", "select", "ev"- Default
"fork"- Declared
- <nixpkgs/nixos/modules/services/networking/sslh.nix>