mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
fix sslh
This commit is contained in:
parent
6040b4a1e6
commit
3ba1a63124
1 changed files with 4 additions and 3 deletions
|
|
@ -30,11 +30,12 @@ in
|
|||
|
||||
services.sslh = {
|
||||
enable = true;
|
||||
listenAddresses = [ "0.0.0.0" ];
|
||||
port = 443;
|
||||
settings = {
|
||||
listen = [{ host = "0.0.0.0"; port = 443; }];
|
||||
protocols = [
|
||||
{ name = "ssh"; host = "127.0.0.1"; port = 22; probe = "builtin"; }
|
||||
{ name = "tls"; host = "127.0.0.1"; port = 4443; probe = "builtin"; }
|
||||
{ name = "ssh"; host = "127.0.0.1"; port = "22"; probe = "builtin"; }
|
||||
{ name = "tls"; host = "127.0.0.1"; port = "4443"; probe = "builtin"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue