blob: fa59528da2703f1721815537810c6cf1809b0217 (
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
|
{ config, lib, pkgs, ... }:
let
#sources = import ../../../nix/sources.nix;
uplcg-nix = fetchGit {
url = "https://stuebinm.eu/git/uplcg";
rev = "8c19e63eb67093f960be060f08a873a9d696d226";
};
in
{
imports = [
"${uplcg-nix.outPath}/module.nix"
];
services.uplcg = {
enable = true;
port = 9080;
domain = "0.0.0.0";
};
services.nginx.virtualHosts."cards.stuebinm.eu" = {
locations."/" = {
proxyPass = "http://localhost:9080";
proxyWebsockets = true;
};
enableACME = true;
forceSSL = true;
};
}
|