nix-system/os/utils.nix
ant c0d5c30418
All checks were successful
/ build-all (push) Successful in 1m14s
move forgejo to it's own module and enable fail2ban for it
2025-09-19 10:22:35 +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;
};
};
}