On my administration overview page it says “You are accessing your instance over a secure connection, however your instance is generating insecure URLs. This most likely means that you are behind a reverse proxy and the overwrite config variables are not set correctly. Please read the documentation page about this”
That is correct. I am using a docker nextcloud container and a nginx container as a proxy. If I go to the page it links to it basically says to set up a trusted_proxies. I have done that all ready. If I check trusted proxies I see it listed.
$ docker exec --user www-data nextcloud-app-1 php occ config:system:get trusted_proxies
nextcloud-proxy-1
I double checked and that the name of my proxy container.
Thank you.
config.php encase that is helpful.
<?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' => 'redis',
'password' => '',
'port' => 6379,
),
'trusted_proxies' =>
array (
0 => 'nextcloud-proxy-1',
),
'instanceid' => '[some random letters]',
'passwordsalt' => '[some more random letters]',
'secret' => '[lots of random letters]',
'trusted_domains' =>
array (
0 => '[my domain name in the format aaaa.bbbbbb.com]',
),
'datadirectory' => '/srv/nextcloud/data',
'dbtype' => 'mysql',
'version' => '26.0.0.11',
'overwrite.cli.url' => 'http://[my domain name in the format aaaa.bbbbbb.com]',
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '[some random letters]',
'installed' => true,
'maintenance' => false,
'loglevel' => 2,
'mail_smtpmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_sendmailmode' => 'smtp',
'mail_from_address' => '[some not so random letters]',
'mail_domain' => '[some popular mail domain].com',
'mail_smtphost' => 'smtp.[some popular mail domain].com',
'mail_smtpport' => '587',
'mail_smtpname' => '[my email]',
'mail_smtppassword' => '[some random letters]',
);