Hello,
i followed this guide:
Now i have a huge problem:
I cant connect to my cloud via the subdomain.domain. i get the following error:
ERR_TOO_MANY_REDIRECT
If i try to connect through the dubdomain over duckdns.org i get the following error:
Welcome to our server
The website is currently being setup under this address.
For help and support, please contact:
[email protected]
I made replicatet every step of the video but i cant get it to work.
Last week i tried it with a trial version of unraid on a testbench and it worked somehow. Now i used my nas system, uninstalled freenas, installed unraid. setup my shares etc etc.
Followed this guide and i cant get my cloud up and running.... what am i missing?
appdata\nextcloud\www\nextcloud\config
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'datadirectory' => '/data',
'instanceid' => 'ocm7momg2n03',
'passwordsalt' => 'XC/+qO5UmkF3GoZ7VZKnrugEcoRSPI',
'secret' => 'oTB/On0QGj8avfZ3+u9eB/gc9pc3d7LxV3ObYAGZCJOwFvnG',
'trusted_domains' =>
array (
0 => '192.168.178.55:444',
1 => 'nextcloud.domain.de',
),
'dbtype' => 'mysql',
'version' => '18.0.0.10',
'overwrite.cli.url' => 'https://nextcloud.domain.de',
'overwritehost' => 'nextcloud.domain.de',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => '192.168.178.55:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'password',
'installed' => true,
);
appdata\letsencrypt\nginx\proxy-confs
# 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.domain.de;
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_nextcloud nextcloud;
proxy_max_temp_file_size 2048m;
proxy_pass https://$upstream_nextcloud:443;
}
}
dns is over cloudflare:
duckdns has my wan ip.
i think the error is somewhere in my config inside unraid. but dont know what is wrong.....
Hope i didnt forgot anything so far.
The guide works. even after putting letsencrypt and nextcloud in its own network.
edit1: OK nevermind. I redid the appdata\nextcloud\www\nextcloud\config. just copied the entries from the appdata\letsencrypt\nginx\proxy-confs and changed them. now it worked. Maybe because the line with netsencript was missing...
now its working!
edit2: on my computer it is working, but on my mobile phone i cant connect it. redirect error......
edit3: i tried it on a different computer in a different network. Redirect error.
Now i get the error on my computer too and on this computer it worked for some time. wtf is wrong with this software?