blob: a3ee2e361bb598c92730e0971189200d59382d7f (
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
26
27
|
{config, ...}: {
services.etebase-server = {
enable = true;
port = 8001;
settings = {
global.secret_file = "${config.age.secrets.etebase-server.path}";
allowed_hosts.allowed_host1 = "localhost";
};
};
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
virtualHosts = {
"dav.vhack.eu" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://[::1]:8001";
};
};
};
}
|