machine-config/bert/services/http/0hats.com.nix

21 lines
384 B
Nix
Raw Permalink Normal View History

{
services.caddy.virtualHosts."0hats.com" = {
serverAliases = ["www.0hats.com"];
extraConfig = ''
encode zstd gzip
file_server
root * /srv/www/0hats.com
handle_errors {
respond "{err.status_code} {err.status_text}"
}
'';
};
systemd.tmpfiles.settings."10-0hats-com" = {
"/srv/www/0hats.com" = {
d = {};
};
};
}