Difference between revisions of "NextCloud/Pain points/Subdirectory Hosting"
< NextCloud | Pain points
Jump to navigation
Jump to search
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! | ||
Line 7: | Line 9: | ||
# in your editor, open <code>config/config.php</code> | # in your editor, open <code>config/config.php</code> | ||
# Go to line 6 (or so), and fine "trusted_domains" | # 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!
- in your editor, open
config/config.php
- Go to line 6 (or so), and fine "trusted_domains"
- Modify existing, or create (a) new array value(s) to include the subdirectory