flora-6: merge main branch #178
|
@ -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