blob: 9905cee1065114b5b997da3206cbca1250d02867 (
plain) (
blame)
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
|
{
network.description = "Personal VPS";
webserver = { config, pkgs, ... }:
let
nixcloud = import (builtins.fetchTarball
"https://github.com/nixcloud/nixcloud-webservices/archive/master.tar.gz");
in {
imports = [ nixcloud ];
nixcloud.reverse-proxy = {
enable = true;
extendEtcHosts = true; # test without it
};
nixcloud.webservices.mediawiki.test1 = {
enable = true;
proxyOptions = {
port = 40000;
path = "/wiki";
domain = "example.com";
};
};
};
}
|