19 lines
440 B
Nix
19 lines
440 B
Nix
|
|
{
|
|
services.caddy.virtualHosts."lawrencedeerclub.chandlerswift.com".extraConfig = ''
|
|
encode zstd gzip
|
|
file_server
|
|
root * /srv/www/lawrencedeerclub.chandlerswift.com
|
|
# hide .git # ???
|
|
|
|
handle_errors {
|
|
respond "{err.status_code} {err.status_text}"
|
|
}
|
|
'';
|
|
systemd.tmpfiles.settings."10-lawrencedeerclub-chandlerswift-com" = {
|
|
"/srv/www/lawrencedeerclub.chandlerswift.com" = {
|
|
d = {};
|
|
};
|
|
};
|
|
}
|