diff options
author | Yorick <yorick@yorickvanpelt.nl> | 2023-09-09 18:45:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 18:45:45 +0200 |
commit | df123af8b8836fff8eb316d2be3b30c91d237fa4 (patch) | |
tree | e900504e12ac6b8e337fab2d205e27c54530ccbc /nixos/modules/services | |
parent | 42344dcc2960db4dbe67fccd526f97324ee22441 (diff) | |
parent | 5110d348b258aa3397b15876c68e5b17a4080c9c (diff) | |
download | nixlib-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar nixlib-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.gz nixlib-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.bz2 nixlib-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.lz nixlib-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.xz nixlib-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.zst nixlib-df123af8b8836fff8eb316d2be3b30c91d237fa4.zip |
Merge pull request #248502 from kurnevsky/wstunnel
wstunnel: correct listen option
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/networking/wstunnel.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/wstunnel.nix b/nixos/modules/services/networking/wstunnel.nix index 067d5df48725..3c3ecc3e04d7 100644 --- a/nixos/modules/services/networking/wstunnel.nix +++ b/nixos/modules/services/networking/wstunnel.nix @@ -86,12 +86,12 @@ let description = mdDoc "Address and port to listen on. Setting the port to a value below 1024 will also give the process the required `CAP_NET_BIND_SERVICE` capability."; type = types.submodule hostPortSubmodule; default = { - address = "0.0.0.0"; + host = "0.0.0.0"; port = if config.enableHTTPS then 443 else 80; }; defaultText = literalExpression '' { - address = "0.0.0.0"; + host = "0.0.0.0"; port = if enableHTTPS then 443 else 80; } ''; |