Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issues configuring a Nextcloud server with Let'sEncrypt and DuckDNS

Featured Replies

Hello. I have been trying to run a Nextcloud server outside of my network using this tutorial and I'm stuck at the final part.

 

 

Everything went well but when I go to the duckdns subdomain I configured for the nextcloud website, it shows this:

Welcome to our server

The website is currently being setup under this address.

For help and support, please contact: [email protected]

 

In the last steps of the video tutorial he edits two files, here is my config of both of them:

 

config.php (personal info hidden)

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'xxxxxxxxxxx',
  'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'trusted_domains' => 
  array (
    0 => 'XXX.XXX.X.XXX:444',
    1 => 'mysubdomain.duckdns.org',
  ),
  'dbtype' => 'mysql',
  'version' => '18.0.1.3',
  'overwrite.cli.url' => 'https://mysubdomain.duckdns.org',
  'overwritehost' => 'mysubdomain.duckdns.org'
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud',
  'dbhost' => 'XXX.XXX.X.XXX:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'XXXXXXXXXXXXXXXX',
  'installed' => true,
);

 

 

nextcloud.subdomain.conf

 

# make sure that your dns has a cname set for nextcloud
# assuming this container is called "letsencrypt", edit your nextcloud container's config
# located at /config/www/nextcloud/config/config.php and add the following lines before the ");":
#  'trusted_proxies' => ['letsencrypt'],
#  'overwrite.cli.url' => 'https://nextcloud.your-domain.com/',
#  'overwritehost' => 'nextcloud.your-domain.com',
#  'overwriteprotocol' => 'https',
#
# Also don't forget to add your domain name to the trusted domains array. It should look somewhat like this:
#  array (
#    0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it.
#    1 => 'nextcloud.your-domain.com',
#  ),

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name nextcloud.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_app nextcloud;
        set $upstream_port 443;
        set $upstream_proto https;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

        proxy_max_temp_file_size 2048m;
    }
}

 

Thanks so much in advance for the help and sorry for my bad english (tried my best to explain the issue :) )

  • 1 month later...

'trusted_proxies' => ['letsencrypt'],

'overwrite.cli.url' => 'https://nextcloud.your-domain.com/',

'overwritehost' => 'nextcloud.your-domain.com', # 'overwriteprotocol' => 'https',

 

Add the above lines to config.php just above the line

'dbtype' => 'mysql',

 

It is important to setup proxynet in unraid as described by spaceinvader one.

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.