Server homesite at root domain

This commit is contained in:
Evie Litherland-Smith 2023-11-25 18:31:21 +00:00
parent bc6ed04ced
commit 754c324f80

View file

@ -3,8 +3,10 @@
services.caddy = {
enable = true;
email = "evie@xenia.me.uk";
virtualHosts."localhost".extraConfig = ''
respond "Hello, world!"
virtualHosts."xenia.me.uk".extraConfig = ''
file_server * {
root /var/www/homesite/
}
'';
};
services.fail2ban = {