mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
add flamesites
This commit is contained in:
parent
113c63fcff
commit
fbeea79404
2 changed files with 28 additions and 0 deletions
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