fix: disable broken website, want network target before update
This commit is contained in:
parent
ef95939ebf
commit
0cd70a08f1
1 changed files with 7 additions and 31 deletions
|
|
@ -73,37 +73,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
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 = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
modules = { };
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
|
@ -151,6 +121,12 @@
|
|||
Type = "oneshot";
|
||||
User = "root";
|
||||
};
|
||||
wants = [
|
||||
"network-online.target"
|
||||
];
|
||||
after = [
|
||||
"network-online.target"
|
||||
];
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue