move forgejo to it's own module and enable fail2ban for it
All checks were successful
/ build-all (push) Successful in 1m14s

This commit is contained in:
ant 2025-09-19 10:13:08 +02:00
parent 8c940b7550
commit c0d5c30418
3 changed files with 75 additions and 62 deletions

10
os/utils.nix Normal file
View file

@ -0,0 +1,10 @@
{
reverseProxy = port: {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${builtins.toString port}";
proxyWebsockets = true;
};
};
}