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 = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
email = "evie@xenia.me.uk";
|
email = "evie@xenia.me.uk";
|
||||||
virtualHosts."xenia.me.uk".extraConfig = ''
|
virtualHosts = {
|
||||||
file_server * {
|
"xenia.me.uk".extraConfig = ''
|
||||||
root /var/www/homesite/
|
file_server * {
|
||||||
}
|
root /var/www/landing/
|
||||||
'';
|
}
|
||||||
|
'';
|
||||||
|
"blog.xenia.me.uk".extraConfig = ''
|
||||||
|
file_server * {
|
||||||
|
root /var/www/blog/
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue