Add landing page to domain, move blog to blog subdomain
This commit is contained in:
parent
b515dc5fcd
commit
888481237b
|
@ -3,11 +3,18 @@
|
|||
services.caddy = {
|
||||
enable = true;
|
||||
email = "evie@xenia.me.uk";
|
||||
virtualHosts."xenia.me.uk".extraConfig = ''
|
||||
virtualHosts = {
|
||||
"xenia.me.uk".extraConfig = ''
|
||||
file_server * {
|
||||
root /var/www/homesite/
|
||||
root /var/www/landing/
|
||||
}
|
||||
'';
|
||||
"blog.xenia.me.uk".extraConfig = ''
|
||||
file_server * {
|
||||
root /var/www/blog/
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue