Difference between revisions of "NextCloud/Pain points/Subdirectory Hosting"

From Adam Meola - wiki
Jump to navigation Jump to search
(Created page with "== Subdirectory Hosting == NextCloud sadly assumes that you're installing NextCloud at the root of a domain. This is easy enough to resolve though! in your editor, open")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Subdirectory Hosting ==
+
==Subdirectory Hosting==
  
 
NextCloud sadly assumes that you're installing NextCloud at the root of a domain.
 
NextCloud sadly assumes that you're installing NextCloud at the root of a domain.
  
 +
(or at least this is certainly true when installing with "installatron" in 2021)
  
 
This is easy enough to resolve though!
 
This is easy enough to resolve though!
  
in your editor, open
+
# in your editor, open <code>config/config.php</code>
 +
# Go to line 6 (or so), and fine "trusted_domains"
 +
# Modify existing, or create (a) new array value(s) to include the subdirectory

Latest revision as of 19:22, 15 March 2021

Subdirectory Hosting

NextCloud sadly assumes that you're installing NextCloud at the root of a domain.

(or at least this is certainly true when installing with "installatron" in 2021)

This is easy enough to resolve though!

  1. in your editor, open config/config.php
  2. Go to line 6 (or so), and fine "trusted_domains"
  3. Modify existing, or create (a) new array value(s) to include the subdirectory