mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
wait for the hosted zone to become resolvable
This commit is contained in:
parent
eaf00456f0
commit
264cea6219
2 changed files with 20 additions and 2 deletions
|
|
@ -133,6 +133,7 @@
|
|||
"netbox.wanderingcrow.net" = {};
|
||||
"notify.wanderingcrow.net" = {};
|
||||
"logs.wanderingcrow.net" = {};
|
||||
"psychal.link" = {};
|
||||
# Sites I host for someone else
|
||||
"swgalaxyproject.com" = {};
|
||||
"nnsbluegrass.com" = {};
|
||||
|
|
|
|||
|
|
@ -8,9 +8,11 @@
|
|||
"${inputs.nixpkgs-unstable}/nixos/modules/services/matrix/tuwunel.nix"
|
||||
];
|
||||
|
||||
sops.secrets."matrix/registration_token" = {};
|
||||
sops.secrets."matrix/registration_token" = {
|
||||
owner = "tuwunel";
|
||||
};
|
||||
|
||||
services.matrix.tuwunel = {
|
||||
services.matrix-tuwunel = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.matrix-tuwunel;
|
||||
stateDirectory = "tuwunel";
|
||||
|
|
@ -29,4 +31,19 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
virtualHosts = {
|
||||
"psychal.link" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "psychal.link";
|
||||
locations."/" = {
|
||||
proxyPass = "http://unix:/run/tuwunel/tuwunel.sock";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue