move forgejo to it's own module and enable fail2ban for it
All checks were successful
/ build-all (push) Successful in 1m11s
All checks were successful
/ build-all (push) Successful in 1m11s
This commit is contained in:
parent
8c940b7550
commit
ce88a949f6
3 changed files with 75 additions and 62 deletions
10
os/utils.nix
Normal file
10
os/utils.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
reverseProxy = port: {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${builtins.toString port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue