2022-08-06 01:46:07 +03:00
|
|
|
{ packages, tools }:
|
2021-10-16 21:00:53 +03:00
|
|
|
with tools.vhosts;
|
|
|
|
let inherit (tools) domain; in
|
|
|
|
{
|
|
|
|
# websites
|
|
|
|
ktp = static "/srv/storage/www/soda/ktp";
|
|
|
|
legacy = static "/srv/storage/www/legacy";
|
|
|
|
soda = static "/srv/storage/www/soda"; # TODO: add back custom error pages, wttr.in cache
|
|
|
|
|
|
|
|
# content delivery
|
|
|
|
autoconfig = static "/srv/storage/www/autoconfig";
|
|
|
|
}
|