fra1-a: disable caddy

This commit is contained in:
Motiejus Jakštys 2024-07-29 16:48:08 +03:00
parent 7d025ffbb4
commit 94f4f71944

View File

@ -1,5 +1,4 @@
{ {
lib,
config, config,
myData, myData,
modulesPath, modulesPath,
@ -108,24 +107,6 @@
}; };
services = { services = {
caddy = {
enable = true;
email = "motiejus+acme@jakstys.lt";
globalConfig = ''
servers {
metrics
}
'';
virtualHosts = {
"www.11sync.net".extraConfig = ''
redir https://jakstys.lt/2024/11sync-shutdown/
'';
"11sync.net".extraConfig = lib.mkForce ''
redir https://jakstys.lt/2024/11sync-shutdown/
'';
};
};
nsd = { nsd = {
enable = true; enable = true;
interfaces = [ interfaces = [
@ -145,15 +126,10 @@
domain = "servers.jakst"; domain = "servers.jakst";
useDHCP = true; useDHCP = true;
firewall = { firewall = {
allowedUDPPorts = [ allowedUDPPorts = [ 53 ];
53
443
];
allowedTCPPorts = [ allowedTCPPorts = [
22 22
53 53
80
443
]; ];
}; };
}; };