machine-config/bert/services/http/harborpaperco.com.nix

27 lines
617 B
Nix
Raw Permalink Normal View History

2024-11-12 00:47:23 -06:00
{
services.caddy.virtualHosts."harborpaperco.com" = {
serverAliases = ["www.harborpaperco.com"];
extraConfig = ''
encode zstd gzip
file_server
root * /srv/www/harborpaperco.com
handle_errors {
respond "{err.status_code} {err.status_text}"
}
2024-11-12 00:47:23 -06:00
'';
};
services.caddy.virtualHosts."pureserendipityweddings.com" = {
serverAliases = ["www.pureserendipityweddings.com"];
extraConfig = ''
redir https://harborpaperco.com
'';
};
2024-11-12 00:47:23 -06:00
systemd.tmpfiles.settings."10-harborpaperco-com" = {
"/srv/www/harborpaperco.com" = {
d = {};
};
};
}