Server homesite at root domain
This commit is contained in:
parent
bc6ed04ced
commit
754c324f80
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue