flora-6: move ISO images to /data
There is a second, bigger disk attached to flora-6, let's use it
This commit is contained in:
parent
3e46501f41
commit
f9e70e18dc
|
@ -10,6 +10,10 @@
|
||||||
config.services.caddy.configFile
|
config.services.caddy.configFile
|
||||||
];
|
];
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d '/data/srv/www/os/download/' 0750 hakkonaut hakkonaut - -"
|
||||||
|
];
|
||||||
|
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = lib.mkForce true;
|
enable = lib.mkForce true;
|
||||||
group = "hakkonaut";
|
group = "hakkonaut";
|
||||||
|
@ -23,7 +27,7 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# PubSolarOS images
|
# PubSolarOS images
|
||||||
handle /os/download/* {
|
handle /os/download/* {
|
||||||
root * /srv/www
|
root * /data/srv/www
|
||||||
file_server /os/download/* browse
|
file_server /os/download/* browse
|
||||||
}
|
}
|
||||||
# serve base domain pub.solar for mastodon.pub.solar
|
# serve base domain pub.solar for mastodon.pub.solar
|
||||||
|
|
Loading…
Reference in a new issue