depot/hosts/VEGAS/services/websites/websites.nix

17 lines
411 B
Nix
Raw Normal View History

{ packages, tools }:
2021-10-16 21:00:53 +03:00
with tools.vhosts;
{
# websites
ktp = static "/srv/storage/www/soda/ktp";
legacy = static "/srv/storage/www/legacy";
soda = static "/srv/storage/www/soda" // {
extraConfig = ''
error_page 404 /.nginx-private/404.html;
error_page 500 502 503 504 /.nginx-private/50x.html;
'';
};
2021-10-16 21:00:53 +03:00
# content delivery
autoconfig = static "/srv/storage/www/autoconfig";
}