Compare commits

..

No commits in common. "4658d31f53be49254a8c15e74c7e47a0d19fd56c" and "9b7a3d6ffe36180082c3e96abb45bac585273fc7" have entirely different histories.

2 changed files with 17 additions and 13 deletions

View file

@ -3,11 +3,15 @@
services.caddy = {
enable = true;
email = "evie@xenia.me.uk";
virtualHosts."xenia.me.uk" = {
serverAliases = ["www.xenia.me.uk"];
extraConfig = ''
virtualHosts = {
"xenia.me.uk".extraConfig = ''
redir https://www.xenia.me.uk
'';
"www.xenia.me.uk".extraConfig = ''
file_server * {
root /var/www/xenia.me.uk/
}
'';
};
};
services.fail2ban = {

View file

@ -1,5 +1,5 @@
{config, ...}: {
# imports = [./caddy.nix];
imports = [./caddy.nix];
services.znc = {
enable = true;
mutable = false;
@ -16,17 +16,17 @@
Salt = "0vgs)x4KcEmGMK;56QVm";
};
Network = {
# liberachat = {
# Server = "irc.libera.chat +6697";
# Chan = {
# "#nixos" = {};
# "#nixos-wiki" = {};
# };
# JoinDelay = 2;
# };
liberachat = {
Server = "irc.libera.chat +6697";
Chan = {
"#nixos" = {};
"#nixos-wiki" = {};
};
JoinDelay = 2;
};
};
};
};
};
# services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
}