.
This commit is contained in:
parent
351a307273
commit
b5f62bf8dd
5 changed files with 11 additions and 5 deletions
|
|
@ -1,6 +1,11 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
systemd.services.forgejo = {
|
||||
wants = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
networking.firewall.interfaces.wg0.allowedTCPPorts = [
|
||||
3000
|
||||
2222
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@
|
|||
enabled = true;
|
||||
filter = "forgejo-ssh";
|
||||
logpath = "/var/log/nginx/forgejo-ssh.log";
|
||||
backend = "auto";
|
||||
maxretry = 10;
|
||||
findtime = 60;
|
||||
bantime = "1h";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue