Compare commits

..

No commits in common. "1732c627345b4b372d9034e0b8d5bfe38d4fdfa7" and "b3258d9f5f84fa460a7d12e3e7b37cfeb044bc0c" have entirely different histories.

4 changed files with 1 additions and 36 deletions

View File

@ -1,7 +1,6 @@
---
title: "radicale and nginx"
tags: [ "data", "calendar" ]
required: [ "nginx", "certbot" ]
---
Check before you start:

View File

@ -1,24 +0,0 @@
---
title: "Soft Serve Maintenance"
tags: [ "data", "git server", "maintenance" ]
required: [ "git", "nginx" ]
---
Over time git repositories become bloated with old data, but never get cleaned.
I can't find an official way to clean up the crud, so I did this:
```sh
usermod -aG soft-serve $USER
# Log out and back in for this to take effect.
cd /var/lib/soft-serve/data/repos
sudo chmod -R g+w *
git config --global --add safe.directory '*'
du -sh *.git
for repo in *.git; do
git -C "$repo" gc
done
du -sh *.git
$EDITOR ~/.gitconfig
# You should remove having everything marked 'safe'.
```

View File

@ -1,8 +0,0 @@
---
title: "Soft-Serve"
tags: [ "data", "git server", "lfs", "TUI" ]
required: [ "git", "nginx" ]
---
- [Soft-Serve with https](soft-serve/soft_https.md)
- [Maintenance](soft-serve/maintenance.md)

View File

@ -1,7 +1,6 @@
---
title: "Soft Serve through https"
tags: [ "data", "git server", "lfs" ]
required: [ "git", "nginx" ]
---
## `http` Setup
@ -34,7 +33,7 @@ Restart the `soft-serve` service, then check it's working by cloning from localh
git clone http://localhost:23232/${some_repo}.git
```
### `https` Setup
## `https` Setup
Put this file at `/etc/nginx/sites-enabled/$DOMAIN.tld`, then set up standard certificates with [nginx](../networking/website/nginx.md).
@ -68,4 +67,3 @@ Put this file at `/etc/nginx/sites-enabled/$DOMAIN.tld`, then set up standard ce
}
```