about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-29 01:47:57 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-29 13:47:04 +0200
commit95f741b1387736d3089365e3da16d89ae65e1f2d (patch)
tree99414061984f1c253f12a427f116851d0169dd39
parentFirewall: Allow tcp:9090 (calibre) (diff)
downloadnixos-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.nix5
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