Hello community,
im facing the issue that my nextcloud tells me that my Reverse Proxy configuration is not correct.
I do let my users access the cloud via NGINX Reverse Proxy (all on Debian 12, in the same subnet), but i have tried various things in my config, all with no luck.
So here is my config.php
<?php
$CONFIG = array (
'trusted_domains' =>
array (
0 => 'mydomain.de',
1 => '192.168.50.*',
2 => 'localhost',
3 => '127.0.0.1',
4 => 'mydomain.de',
5 => 'MYIP',
),
'trusted_proxies' =>
array (
0 => '192.168.50.5',
1 => '192.168.50.0/24',
),
'forwarded_for_headers' =>
array (
0 => 'HTTP_X_FORWARDED',
1 => 'HTTP_FORWARDED_FOR',
),
'overwriteprotocol' => 'https',
'datadirectory' => '/var/www/nextcloud/data',
'overwrite.cli.url' => 'https://mydomain.de',
'dbtype' => 'mysql',
'version' => '27.1.1.0',
'logtimezone' => 'UTC',
'installed' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 3,
'updater.release.channel' => 'stable',
'memcache.local' => '\\OC\\Memcache\\APCu',
'app_install_overwrite' =>
array (
0 => 'quota_warning',
1 => 'admin_notifications',
2 => 'keeweb',
3 => 'whiteboard',
4 => 'integration_whiteboard',
),
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'info',
'mail_domain' => '',
'mail_smtpauthtype' => 'PLAIN',
'mail_smtphost' => '',
'mail_smtpport' => '587',
'mail_smtpdebug' => 'true',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbuser' => 'nextcloud-dbuser',
'dbpassword' => '',
'mysql.utf8mb4' => true,
'default_locale' => 'de_DE',
'default_language' => 'de',
'mail_smtpauth' => 1,
'mail_smtpname' => '',
'mail_smtppassword' => '',
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'default_phone_region' => 'DE',
'preview_max_memory' => 1280,
'allow_local_remote_servers' => true,
);
Is there anything wrong? I also tried this for the trusted_proxies thing
'trusted_proxies' => ['192.168.50.5'],
with the same result.
Thanks in advance!