blob: 0fbd01d88863275348cbdd6e70c9925f537c7296 (
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
|
{ ... }:
{
imports = [
../../modules/common.nix
./hardware.nix
./devices.nix
../../modules/www.nix
];
services.nginx = {
"sho.rest" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:5000";
};
};
"mel.gg" = {
enableACME = true;
forceSSL = true;
root = "/srv/mel";
};
"git.rnrd.eu" = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
proxyPass = "http://127.0.0.1:3792";
};
"/static/" = {
alias = "/srv/cgit/static/";
};
};
};
};
system.stateVersion = "24.05";
}
|