diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-29 01:47:57 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-29 13:47:04 +0200 |
commit | 1dec41886fc720cd6ee7b9ecb50b6f67666f1f74 (patch) | |
tree | 5da4b4ccc2cd2a42d2217a07891be615cedaa0e7 /modules | |
parent | Firewall: Allow tcp:9090 (calibre) (diff) | |
download | nixos-config-1dec41886fc720cd6ee7b9ecb50b6f67666f1f74.tar.gz nixos-config-1dec41886fc720cd6ee7b9ecb50b6f67666f1f74.tar.bz2 nixos-config-1dec41886fc720cd6ee7b9ecb50b6f67666f1f74.zip |
Modules: git-server: Listen on ipv6 too
Diffstat (limited to 'modules')
-rw-r--r-- | modules/git-server/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/git-server/default.nix b/modules/git-server/default.nix index 24b9a61..143bec3 100644 --- a/modules/git-server/default.nix +++ b/modules/git-server/default.nix @@ -15,7 +15,10 @@ in nginx = { enable = true; virtualHosts."_" = { - listen = [{ addr = "0.0.0.0"; port = 80; }]; + listen = [ + { addr = "0.0.0.0"; port = 80; } + { addr = "[::]"; port = 80; } + ]; locations = { "/".extraConfig = let |