diff --git a/services/caddy.nix b/services/caddy.nix index bb82ed4b..e2b824ca 100644 --- a/services/caddy.nix +++ b/services/caddy.nix @@ -3,11 +3,18 @@ services.caddy = { enable = true; email = "evie@xenia.me.uk"; - virtualHosts."xenia.me.uk".extraConfig = '' - file_server * { - root /var/www/homesite/ - } - ''; + virtualHosts = { + "xenia.me.uk".extraConfig = '' + file_server * { + root /var/www/landing/ + } + ''; + "blog.xenia.me.uk".extraConfig = '' + file_server * { + root /var/www/blog/ + } + ''; + }; }; services.fail2ban = { enable = true;