blob: 00d1608018ebba64444a95eb5759dd26701cdf50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ me, pkgs, lib, ... }:
{
imports = [
../../modules/common.nix
./hardware.nix
./devices.nix
../../modules/www.nix
../../services/dendrite.nix
../../services/pds.nix
../../services/akkoma
];
services.nginx.virtualHosts = {
"soc.rnrd.eu" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyWebsockets = true;
proxyPass = "http://127.0.0.1:1111";
};
};
"matrix.rnrd.eu" = {
forceSSL = true;
enableACME = true;
locations."/_matrix" = {
proxyPass = "http://127.0.0.1:8008";
};
};
"pds.rnrd.eu" = {
# NOTE: technically this isn't needed if
# we aren't using the PDS as a handle provider?
# serverAliases = [ "*.pds.rnrd.eu" ];
forceSSL = true;
enableACME = true;
locations."/" = {
proxyWebsockets = true;
proxyPass = "http://127.0.0.1:16419";
};
};
};
system.stateVersion = "23.05";
}
|