Jesus

Members
  • Posts

    1
  • Joined

  • Last visited

Jesus's Achievements

Noob

Noob (1/14)

0

Reputation

  1. 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 )