I have many other threads regarding this but I haven’t found one similar to mine.
I have NC installed in a docker container and I have a nginx reverse proxy that redirect calls to the nextcloud docker container.
I am using everything only from my localnetwork 192.168.1.0/24.
The strange thing is that from my laptop I can access to NC without problems, but from my smartphone I am getting the following error:
We have detected multiple invalid login attempts from your IP. Therefore your next login is throttled up to 30 seconds
the table oc_bruteforce_attempts
is empty.
The following is my config.php
:
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-redis',
'password' => '*******',
'port' => 6379,
),
'upgrade.disable-web' => true,
'passwordsalt' => '*****************',
'secret' => '*********************',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'mgnet.net',
2 => '192.168.1.109',
3 => '172.22.0.8',
),
'trusted_proxies' =>
array (
0 => '172.22.0.8',
),
'forwarded-for-headers' =>
array (
0 => 'X-Forwarded-For',
1 => 'HTTP_X_FORWARDED_FOR',
),
'overwriteprotocol' => 'http',
'overwritehost' => 'mgnet.net',
'overwritecondaddr' => '^172\.22\.0\.8$',
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '29.0.6.1',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'ncdb',
'dbhost' => 'nextcloud-db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '************',
'installed' => true,
'instanceid' => 'xxxxxxxxxxxxxx',
'filesystem_check_changes' => 0,
"log_type" => "file",
"logfile" => "nextcloud.log",
"loglevel" => 3,
"logdateformat" => "F d, Y H:i:s",
);