add rudimentary nextcloud docs with drop-off link sharing instructions

This commit is contained in:
Alexander Bocken 2024-01-01 17:22:52 +01:00
parent 022dc742bb
commit a4e9e4ae1b
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 21 additions and 0 deletions

View File

@ -1,6 +1,26 @@
#Nextcloud
## Installation
We're assuming an Arch Linux installation, but the steps should be similar for other distributions.
There are two possible ways to serve Nextclouds PHP code: uWSGI and PHP-FPM.
We'll be using PHP-FPM as this is the recommended way and nginx is easier to setup with it, especially if you wish to enable additional plugins such as LDAP.
TODO
## Setup a drop-off folder in Nextcloud
1. Create a folder in Nextcloud, e.g. `Drop-off`.
2. Click on the share icon and under share link select "File-drop". This will create a link that you can share with others.
3. Optional: If you want to password protect the link, click on "Advanced settings" under the Sharing tab for the folder detailsand use a password of your choice.
### Human-readable link with redirect
If you want a nice human-readable link you can use your own nginx for this.
Add to your existant server block with port 443 in `/etc/nginx/sites-available/nextcloud` or your domain of choice with the following content:
```nginx
location /dropoff {
return 301 <your nextcloud share link>;
}
```
## Sync contacts with khard
TODO

View File

@ -28,6 +28,7 @@ Happy to accept pull requests for new topics!
- [anki sync server](docs/anki_sync_server.md) personal sync server for anki, a spaced repetition learning program
- [docker](docs/docker.md) General tips and tricks around the container manager
- [Searx](docs/Searx.md) A meta searchengine which respects privacy. Arch setup guide.
- [Nextcloud](docs/Nextcloud.md) A self-hosted cloud solution. Installation (on Arch), configuration, and usage tips.
=======
- [calcurse sync](docs/calDAV.md) Sync calcurse with you phone etc.