1
1
Fork 0
deployed-nixos-server-and-apps/nixos-apps/ewanick.com.nix

18 lines
309 B
Nix
Raw Normal View History

2023-04-08 18:49:31 -04:00
let
PROJECT_ROOT = builtins.toString ./.;
in
2023-04-07 11:09:21 -04:00
{
services.caddy = {
enable = true;
virtualHosts = {
"ewanick.com" = {
serverAliases = [ "www.ewanick.com" ];
extraConfig = ''
2023-04-08 18:49:31 -04:00
root * ${PROJECT_ROOT}/ewanick.com/
2023-04-07 11:09:21 -04:00
file_server
'';
};
};
};
}