Update 'README.md'

This commit is contained in:
2022-10-09 22:51:15 +00:00
parent d6688d2d68
commit aefc78f28a

View File

@@ -321,6 +321,31 @@ I used [this](https://github.com/nextcloud/docker/tree/master/.examples/dockerfi
The nginx configuration was pretty straight forward, just copying what was provided by the documentation. The nginx configuration was pretty straight forward, just copying what was provided by the documentation.
There is one option "HSTS" that will add the domain of the site to a list that modern browsers will check to force the site to be https. I already added a redirect to https and I'm pretty confident that I will not be accessing the server through http so I don't think this is necessary. I'm not sure how it would affect the other subdomains. There is one option "HSTS" that will add the domain of the site to a list that modern browsers will check to force the site to be https. I already added a redirect to https and I'm pretty confident that I will not be accessing the server through http so I don't think this is necessary. I'm not sure how it would affect the other subdomains.
### External drive
Digital ocean is great, the constant uptime and the speed makes it well worth the extra cost.
The biggest downside is the limited storage.
To solve this I have created a very simple local SFTP server on a Raspberry Pi.
This allows me to keep all of my large files that don't need rapid access on a terabyte hardrive at home (that can also be accessed on the local network), and connect to it through Nextcloud so I have access to it anywhere.
The steps to build are as follows:
- Install [Armbian](https://www.armbian.com/rpi4b/) on the Pi.
- In the setup select bash as it will boot up faster when SSHing.
- There is a relatively slow and unnecessary dynamic banner when connecting. To disable go to `/etc/default/armbian-motd` and change the first line to:
```sh
MOTD_DISABLE="config header tips updates sysinfo"
```
- Automatically mount the SSD
- Find out the id of the SSD partition with `lsblk` and `blkid`
- Update the `/etc/fstab` file
```
UUID=<ID> /mnt/drive vfat noatime,x-systemd.automount 0 2
```
- Add ufw firewall rules
#### Future tasks with External drive
- [ ] Send a request to automatically update IP address on VPS
- [ ] Automatic backups of local and Nextcloud files
## [Collabora](https://www.collaboraoffice.com/) ## [Collabora](https://www.collaboraoffice.com/)
Now this one was a nightmare, but would have been a dealbreaker without it. Now this one was a nightmare, but would have been a dealbreaker without it.
I was following all the advice and I just couldn't get it to work with my set up. I was following all the advice and I just couldn't get it to work with my set up.