nix-system/os/utils.nix
ant ce88a949f6
All checks were successful
/ build-all (push) Successful in 1m11s
move forgejo to it's own module and enable fail2ban for it
2025-09-19 10:20:59 +02:00

10 lines
201 B
Nix

{
reverseProxy = port: {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${builtins.toString port}";
proxyWebsockets = true;
};
};
}