Server homesite at root domain
This commit is contained in:
parent
bc6ed04ced
commit
754c324f80
|
@ -3,8 +3,10 @@
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
email = "evie@xenia.me.uk";
|
email = "evie@xenia.me.uk";
|
||||||
virtualHosts."localhost".extraConfig = ''
|
virtualHosts."xenia.me.uk".extraConfig = ''
|
||||||
respond "Hello, world!"
|
file_server * {
|
||||||
|
root /var/www/homesite/
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
|
|
Loading…
Reference in a new issue