nextcloudpi
nextcloudpi copied to clipboard
request - ability to turn off public IP in trusted domains
The ability to turn off public IP to trusted domains?
https://github.com/nextcloud/nextcloudpi/commit/1f11d40c47811d6f18373af5d1d80d7f48be8e36
turn on or off public IP to trusted domains under bin / ncp / CONFIG / nc-trusted-domains.sh and etc / ncp-config.d / nc-trusted-domains.cfg
Then it is possible to use fail2ban to block untrusted connections.
Fail2ban will read nextcloud.log (failregex = ^. * "RemoteAddr": "<HOST>". * Trusted domain error. * $). Loglevel in nextclod must be set to 1.