flora-6: move ISO images to /data
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

There is a second, bigger disk attached to flora-6, let's use it
This commit is contained in:
teutat3s 2023-03-05 23:54:56 +01:00
parent 3e46501f41
commit f9e70e18dc
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -10,6 +10,10 @@
config.services.caddy.configFile
];
systemd.tmpfiles.rules = [
"d '/data/srv/www/os/download/' 0750 hakkonaut hakkonaut - -"
];
services.caddy = {
enable = lib.mkForce true;
group = "hakkonaut";
@ -23,7 +27,7 @@
extraConfig = ''
# PubSolarOS images
handle /os/download/* {
root * /srv/www
root * /data/srv/www
file_server /os/download/* browse
}
# serve base domain pub.solar for mastodon.pub.solar