NextCloud : This site can’t be reached

Hi all,

I tried to configure Nextcloud in local, all was fine (I set MaraiDB, create an account etc…). But when I want to set it on duckdns I have an issue.

thanks!

Hello,
you are missing the required support template

We only can help you, if we have a few information about your system.

sur, thanks.

Nextcloud version: 25.0.3
Operating system and version: Linux 6.0.0-0
Apache or nginx version: nginx 1.23.3
PHP version (eg, 7.4): replace me

The issue you are facing:

Is this the first time you’ve seen this error? Y

I think I have an issue with my port, but can’t fix it. I use Swag and NextCloud with Mariadb.
I set everthing in local. I set the conf file in swag also.

In Docker for NextCloud I set this port (in local, so commented after):
#- 444:443
and for NextClouddb I set this port:
#- 3306:3306

I set my NAT in my internet box with my swag port. It’s ok because if I go to another subdomain i see Swag.

Here is the Config.php of NextCloud (made in local):

‘trusted_domains’ =>
array (
0 => ‘localip:444’,
1 => ‘*nextcloud.xxx.duckdns.org
),
‘trusted_proxies’ =>
array (
0 => ‘swag’,
),
‘overwrite.cli.url’ => ‘https://nextcloud.xxx.duckdns.org’,
‘overwritehost’ => ‘nextcloud.duckdns.org’,
‘overwriteprotocol’ => ‘https’,
‘instanceid’ => ‘oci8mm24k2iu’,
‘passwordsalt’ => ‘xxx’,
‘secret’ => ‘xxx’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘25.0.3.2’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘localip:3306’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘nextcloud’,
‘dbpassword’ => ‘passnextcloud’,
‘installed’ => true,

You keep saying “in local” but it’s really unclear what you mean by this. Can you show the full docker config?