Add landing page to domain, move blog to blog subdomain

This commit is contained in:
Evie Litherland-Smith 2024-02-22 07:05:34 +00:00
parent b515dc5fcd
commit 888481237b

View file

@ -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;