nextcloud_information
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nextcloud_information [2024/12/24 10:57] – mike | nextcloud_information [2025/04/19 21:50] (current) – mike | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Nextcloud Information ====== | ====== Nextcloud Information ====== | ||
---- | ---- | ||
+ | ~~NOTOC~~ | ||
=== A high level example of interfacing with Nextcloud (docker container) === | === A high level example of interfacing with Nextcloud (docker container) === | ||
##Open terminal in container | ##Open terminal in container | ||
Line 42: | Line 43: | ||
Edit the file / | Edit the file / | ||
- | === Suggested additions | + | === Additions |
+ | (Note: make sure to update the xxx.xxx.xxx.xxx in the code below to the IP of the proxy) | ||
' | ' | ||
Line 48: | Line 50: | ||
0 => ' | 0 => ' | ||
), | ), | ||
+ | ' | ||
+ | array ( | ||
+ | 0 => ' | ||
+ | 1 => ' | ||
+ | ), | ||
+ | ' | ||
' | ' | ||
array ( | array ( | ||
Line 61: | Line 69: | ||
9 => ' | 9 => ' | ||
10 => ' | 10 => ' | ||
+ | ), | ||
' | ' | ||
' | ' | ||
' | ' | ||
+ | |||
+ | === Updates to / | ||
+ | * Change set_real_ip_from from 172.16.0.0/ | ||
+ | * Ensure real_ip_header = X-Forwarded-For | ||
=== Updates to Nextcloud installs to handle large files === | === Updates to Nextcloud installs to handle large files === | ||
* Update / | * Update / | ||
* Update / | * Update / | ||
+ | |||
+ | Bounce nextcloud (docker restart nextcloud-app) after any/all config edits. | ||
+ | |||
+ | === Bulk actions in Nextcloud === | ||
+ | In this example, we are deleting multiple users. | ||
+ | |||
+ | Create a text file listing the accounts to be deleted, one per line. | ||
+ | |||
+ | Execute the following command, referencing the just-created file: | ||
+ | for i in $(cat users_to_del.txt); | ||
+ | |||
+ |
nextcloud_information.1735066642.txt.gz · Last modified: 2024/12/24 10:57 by mike