feat : bug
This commit is contained in:
parent
23a6282e6d
commit
8586884e4a
7 changed files with 38 additions and 13 deletions
|
|
@ -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 [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue