Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 12.0.2):Latest from linuxserver
Operating system and version (eg, Ubuntu 17.04): Unraid
Apache or nginx version (eg, Apache 2.4.25): Latest Nginx from linuxserver
The issue you are facing:
My issue is not a bug problem, I just can’t figure out how to make own cloud notice that I am on LAN. I followed Spaceinvader Ones tutorial and everything works fine. My only issue is next cloud will redirect me to use my domain name even if I am on my LAN. I know he sets it up like this, but after two hours of googling I can’t find a way around this. I could only find people with redirect problems.
More clearly. If I am outside of my home, when I enter ‘mydoamin.duckdns.org’, It works fine. But when I am home, and enter the lan_ip_for_unraid_server:NextCloudPort into my browser (or click on webGUI in docker menu) I get redirected to ‘mydoamin.duckdns.org’, with has a speed penalty(I tested). How would I make it use lan_ip_for_unraid_server:NextCloudPort when I am inside the same network.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
.
.
.
'trusted_domains' =>
array (
0 => 'ip_for_unraid_server:444',
1 => 'mydoamin.duckdns.org',
),
'dbtype' => 'mysql',
'version' => '16.0.1.1',
'trusted_proxies' => ['letsencrypt'],
'overwritehost' => 'mydoamin.duckdns.org',
'overwriteprotocol' => 'https',
'overwrite.cli.url' => 'https://mydoamin.duckdns.org',
'dbname' => 'nextcloud',
.
.
.
);