feat: slight reworks and added the 2006 site
This commit is contained in:
parent
6e496b4867
commit
07b6e478cc
5 changed files with 144 additions and 48 deletions
|
@ -15,6 +15,7 @@ in {
|
|||
(import ./old_site.nix {year = "2023";})
|
||||
(import ./old_site.nix {year = "2017";})
|
||||
(import ./old_site.nix {year = "2009";})
|
||||
(import ./old_site.nix {year = "2006";})
|
||||
];
|
||||
|
||||
options.services.skynet."${name}" = {
|
||||
|
@ -23,10 +24,8 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
services.skynet.acme.domains = [
|
||||
"www.skynet.ie"
|
||||
"discord.skynet.ie"
|
||||
"*.skynet.ie"
|
||||
"*.discord.skynet.ie"
|
||||
"public.skynet.ie"
|
||||
];
|
||||
|
||||
services.skynet.dns.records = [
|
||||
|
@ -103,5 +102,19 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Some old sites need a php pool running
|
||||
services.phpfpm.pools.old_sites = {
|
||||
user = "nobody";
|
||||
settings = {
|
||||
"pm" = "dynamic";
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"pm.max_children" = 5;
|
||||
"pm.start_servers" = 2;
|
||||
"pm.min_spare_servers" = 1;
|
||||
"pm.max_spare_servers" = 3;
|
||||
"pm.max_requests" = 500;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue