mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -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 = {
|
services.sslh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
listenAddresses = [ "0.0.0.0" ];
|
||||||
|
port = 443;
|
||||||
settings = {
|
settings = {
|
||||||
listen = [{ host = "0.0.0.0"; port = 443; }];
|
|
||||||
protocols = [
|
protocols = [
|
||||||
{ name = "ssh"; host = "127.0.0.1"; port = 22; probe = "builtin"; }
|
{ name = "ssh"; host = "127.0.0.1"; port = "22"; probe = "builtin"; }
|
||||||
{ name = "tls"; host = "127.0.0.1"; port = 4443; probe = "builtin"; }
|
{ name = "tls"; host = "127.0.0.1"; port = "4443"; probe = "builtin"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue