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.

[SOLVED] NextCloud "access through untrusted domain"

Featured Replies

I set up NextCloud and the requisite reverse proxy following SpaceInvader One's guide (he is a saint among men) and I've run into a problem with remote access that I do not think I can fix.  Hopefully someone here can prove me wrong.

 

I can not set up the SSL cert/reverse proxy.  My ISP blocks port 80 inbound.

 

From what I understand, that is how you prevent the whole "access through untrusted domain" thing.

 

Is there a method of generating the SSL cert that doesn't rely on port 80?  Am I doing something else wrong?  (At 15:14, that's similar to the error I get.)  Is there a way to bypass the whole "untrusted domain" thing entirely?  I'm just looking for a way to get this to work as, without remote access, NextCloud is pretty useless.

 

I'm open to any ideas.  Thank you all.  Best tech forum ever!

  • 2 weeks later...
  • Author

For anyone else having trouble with this, when it's asking for a trusted domain, it's the domain you GO TO to access NextCloud...not where you're trying to access FROM.

 

So, just go to /config/www/nextcloud/config and add your domain to the config.php as described here.  Much easier than I originally thought.

 

Edited by rmp5s

  • rmp5s changed the title to [SOLVED] NextCloud "access through untrusted domain"
  • 7 months later...
On 2/23/2019 at 4:44 PM, rmp5s said:

For anyone else having trouble with this, when it's asking for a trusted domain, it's the domain you GO TO to access NextCloud...not where you're trying to access FROM.

 

So, just go to /config/www/nextcloud/config and add your domain to the config.php as described here.  Much easier than I originally thought.

 

 

WOW, thanks for this, I just spent the last two hours looking for this solution. 

  • Author
On 9/28/2019 at 6:54 PM, wesman said:

 

WOW, thanks for this, I just spent the last two hours looking for this solution. 

Awesome.  Glad it was a help.

  • 2 years later...

Where is this /config/www/nextcloud/config?  On the server? On my desktop or laptop accessing it? On the nextcloud app on my desktp/laptop or Chrome? 

Ok so for the next guy looking.  When nextcloud's website says to go to the config/config.php it's located on your server under:

 

appdata>nextcloud>www>nextcloud>config>config.php

 

 

  • 10 months later...

THANKS! 
For sharing the solution :)

  • 1 year later...

I'm kind of embarrassed to ask this but I still can't figure out what to do in the config file. I've located the file but I'm not sure if I should be adjusting all of the info or just lines 1 and 2. I'm not even sure what to put in 3. Can someone break down what I should be adjusting and to what? Also, do I just copy paste everything at the bottom of the page? Thank you in advance and I'm sorry if this is an annoying question.

 

'trusted_domains' =>

array ( 

0 => 'localhost',

1 => 'server1.example.com',

2 => '192.168.1.50',

3 => '[fe80::1:50]',

),

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.