fix: disable broken website, want network target before update

This commit is contained in:
Noa Aarts 2024-08-28 15:29:32 +02:00
parent ef95939ebf
commit 0cd70a08f1
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -73,37 +73,7 @@
]; ];
}; };
modules = { modules = { };
websites = {
enable = true;
certMail = "acme@voorwaarts.nl";
mainDomains = {
"noa.voorwaarts.nl" = {
enable = true;
proxy = "http://127.0.0.1:5000/";
extra_sites = {
"images.noa.voorwaarts.nl" = {
enable = true;
proxy = "http://127.0.0.1:2283/";
};
"testing.noa.voorwaarts.nl" = {
enable = true;
proxy = "http://127.0.0.1:8000/";
};
"sods.noa.voorwaarts.nl" = {
enable = false;
proxy = "http://127.0.0.1:2000/";
};
};
};
"itepastra.nl" = {
enable = true;
proxy = "http://[::1]:8000/";
extra_sites = { };
};
};
};
};
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
@ -151,6 +121,12 @@
Type = "oneshot"; Type = "oneshot";
User = "root"; User = "root";
}; };
wants = [
"network-online.target"
];
after = [
"network-online.target"
];
}; };
virtualisation = { virtualisation = {