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 | 95f741b1387736d3089365e3da16d89ae65e1f2d (patch) | |
tree | 99414061984f1c253f12a427f116851d0169dd39 | |
parent | Firewall: Allow tcp:9090 (calibre) (diff) | |
download | nixos-config-95f741b1387736d3089365e3da16d89ae65e1f2d.tar.gz nixos-config-95f741b1387736d3089365e3da16d89ae65e1f2d.tar.bz2 nixos-config-95f741b1387736d3089365e3da16d89ae65e1f2d.zip |
Modules: git-server: Listen on ipv6 too
-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 |