machine-config/bert/services/http/lawrencedeerclub.chandlerswift.com.nix

19 lines
440 B
Nix
Raw Normal View History

{
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 = {};
};
};
}