feat : bug

This commit is contained in:
Wateir 2025-12-23 17:53:37 +01:00
parent 23a6282e6d
commit 8586884e4a
7 changed files with 38 additions and 13 deletions

View file

@ -40,6 +40,15 @@ with lib;
};
};
})
(mkIf config.module.forgejo.enable {
"${config.module.hostName}-vault" = {
listen = [{ addr = "0.0.0.0"; port = config.module.forgejo.externalPort; }];
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.module.forgejo.internalPort}";
};
};
})
];
networking.firewall.allowedTCPPorts = concatLists [