Hi Guys,
I was wondering if someone could help me.
I have next cloud running using the default config from the linux server container.
I am trying to use HTTP instead of HTTPS to access. Access nextcloud work perfectly via https.
when I run the container with
-p 8080:80
I get redirects to
what am I missing ?
here 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,
),
),
'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'trusted_domains' =>
array (
0 => '10.137.148.4:8080',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '16.0.3.0',
'overwrite.cli.url' => 'http://10.137.148.4',
'dbname' => 'Nextcloud-db',
'dbhost' => 'mariadb',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxxxxxxxxxxxxxxx',
'instanceid' => 'xxxxxxxxxxxxxxxxxxx',
'installed' => true,
);
My plan is to have a traefik reverse proxy with letsencrypt in front of the container. The container uses a self signed cert. I am thinking this will cause a configuration issue with traefik (I could be wrong). otherwise no reason to use http,