add flamesites
This commit is contained in:
parent
113c63fcff
commit
fbeea79404
2 changed files with 28 additions and 0 deletions
|
|
@ -50,6 +50,7 @@
|
||||||
"modules/services/fail2ban"
|
"modules/services/fail2ban"
|
||||||
"modules/services/ollama/nginx.nix" # Just host the nginx path back to Parzival
|
"modules/services/ollama/nginx.nix" # Just host the nginx path back to Parzival
|
||||||
"modules/services/netbox"
|
"modules/services/netbox"
|
||||||
|
"modules/services/flamesites"
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -123,6 +124,9 @@
|
||||||
"ta.wanderingcrow.net" = {};
|
"ta.wanderingcrow.net" = {};
|
||||||
"chat.wanderingcrow.net" = {};
|
"chat.wanderingcrow.net" = {};
|
||||||
"netbox.wanderingcrow.net" = {};
|
"netbox.wanderingcrow.net" = {};
|
||||||
|
# Sites I host for someone else
|
||||||
|
"test.swgalaxyproject.com" = {};
|
||||||
|
"swgalaxyproject.com" = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
24
modules/services/flamesites/default.nix
Normal file
24
modules/services/flamesites/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
{inputs, ...}: {
|
||||||
|
services.nginx = {
|
||||||
|
enable = true;
|
||||||
|
recommendedProxySettings = true;
|
||||||
|
virtualHosts = {
|
||||||
|
"swgalaxyproject.com" = {
|
||||||
|
forceSSL = true;
|
||||||
|
useACMEHost = "swgalaxyproject.com";
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"test.swgalaxyproject.com" = {
|
||||||
|
forceSSL = true;
|
||||||
|
useACMEHost = "test.swgalaxyproject.com";
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue