23 lines
544 B
Nix
23 lines
544 B
Nix
|
|
||
|
{
|
||
|
services.caddy.virtualHosts."harborpaperco.com" = {
|
||
|
serverAliases = ["www.harborpaperco.com"];
|
||
|
extraConfig = ''
|
||
|
encode zstd gzip
|
||
|
file_server
|
||
|
root * /srv/www/harborpaperco.com
|
||
|
'';
|
||
|
};
|
||
|
# services.caddy.virtualHosts."pureserendipityweddings.com" = {
|
||
|
# serverAliases = ["www.pureserendipityweddings.com"];
|
||
|
# extraConfig = ''
|
||
|
# redir https://harborpaperco.com
|
||
|
# '';
|
||
|
# };
|
||
|
systemd.tmpfiles.settings."10-harborpaperco-com" = {
|
||
|
"/srv/www/harborpaperco.com" = {
|
||
|
d = {};
|
||
|
};
|
||
|
};
|
||
|
}
|