mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 23:20:18 +02:00
disabled nextcloud for the moment
This commit is contained in:
parent
1b61750dcf
commit
16d00b902b
1 changed files with 19 additions and 15 deletions
|
@ -5,15 +5,18 @@
|
||||||
ignoreIP = [ "192.168.1.0/24" ];
|
ignoreIP = [ "192.168.1.0/24" ];
|
||||||
extraPackages = [ ];
|
extraPackages = [ ];
|
||||||
jails = {
|
jails = {
|
||||||
|
/*
|
||||||
nextcloud = ''
|
nextcloud = ''
|
||||||
enabled = true;
|
enabled = true;
|
||||||
filter = nextcloud
|
filter = nextcloud
|
||||||
port = http,https
|
port = http,https
|
||||||
'';
|
'';
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
|
/*
|
||||||
"fail2ban/filter.d/nextcloud.conf".text = ''
|
"fail2ban/filter.d/nextcloud.conf".text = ''
|
||||||
[Definition]
|
[Definition]
|
||||||
_groupsre = (?:(?:,?\s*"\w+":(?:"[^"]+"|\w+))*)
|
_groupsre = (?:(?:,?\s*"\w+":(?:"[^"]+"|\w+))*)
|
||||||
|
@ -23,6 +26,7 @@
|
||||||
^[^{]*\{%(_groupsre)s,?\s*"remoteAddr":"<HOST>"%(_groupsre)s,?\s*"message":"Two-factor challenge failed:
|
^[^{]*\{%(_groupsre)s,?\s*"remoteAddr":"<HOST>"%(_groupsre)s,?\s*"message":"Two-factor challenge failed:
|
||||||
journalmatch = _SYSTEMD_UNIT=phpfpm-nextcloud.service
|
journalmatch = _SYSTEMD_UNIT=phpfpm-nextcloud.service
|
||||||
'';
|
'';
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue