mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-25 01:18:42 +00:00
Update README.md
This commit is contained in:
parent
edd8061680
commit
363f16c61c
@ -1,3 +1,29 @@
|
|||||||
# References
|
# References
|
||||||
|
|
||||||
- https://hub.docker.com/r/linuxserver/nextcloud
|
- https://hub.docker.com/r/linuxserver/nextcloud
|
||||||
|
|
||||||
|
# Notes
|
||||||
|
|
||||||
|
If you plan on using a reverse proxy, you will have to define your domain or subdomain as trusted proxy domain.
|
||||||
|
|
||||||
|
The relevant nextcloud configuration file to define this is located at:
|
||||||
|
|
||||||
|
````
|
||||||
|
/<your-volume-path>/config/www/nextcloud/config/config.php
|
||||||
|
````
|
||||||
|
|
||||||
|
Adjust the PHP file and put in your subdomains as trusted. Something like this:
|
||||||
|
|
||||||
|
````
|
||||||
|
<?php
|
||||||
|
$CONFIG = array (
|
||||||
|
...
|
||||||
|
'trusted_domains' =>
|
||||||
|
array (
|
||||||
|
0 => 'nextcloud.example.com',
|
||||||
|
1 => 'nextcloud.anotherdomain.com',
|
||||||
|
),
|
||||||
|
'dbtype' => 'sqlite3',
|
||||||
|
...
|
||||||
|
);
|
||||||
|
````
|
||||||
|
Loading…
x
Reference in New Issue
Block a user