Compare commits
No commits in common. "4658d31f53be49254a8c15e74c7e47a0d19fd56c" and "9b7a3d6ffe36180082c3e96abb45bac585273fc7" have entirely different histories.
4658d31f53
...
9b7a3d6ffe
|
@ -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 = {
|
||||
|
|
|
@ -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}";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue