updates
This commit is contained in:
parent
a048e58d5f
commit
8abe444031
1 changed files with 19 additions and 19 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
services.trilium-server = {
|
services.trilium-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 9111;
|
port = 9111;
|
||||||
host = "127.0.0.1";
|
host = "0.0.0.0";
|
||||||
dataDir = "/var/lib/trilium";
|
dataDir = "/var/lib/trilium";
|
||||||
# noAuthentication = true; # keep authentication for now
|
# noAuthentication = true; # keep authentication for now
|
||||||
};
|
};
|
||||||
|
|
@ -13,23 +13,23 @@
|
||||||
# "d /var/lib/trilium 0755 trilium trilium -"
|
# "d /var/lib/trilium 0755 trilium trilium -"
|
||||||
# ];
|
# ];
|
||||||
|
|
||||||
services.nginx = {
|
# services.nginx = {
|
||||||
virtualHosts = {
|
# virtualHosts = {
|
||||||
"trilium" = {
|
# "trilium" = {
|
||||||
serverName = "h001.net.joshuabell.xyz";
|
# serverName = "h001.net.joshuabell.xyz";
|
||||||
listen = [
|
# listen = [
|
||||||
{
|
# {
|
||||||
port = 9111;
|
# port = 9111;
|
||||||
addr = "0.0.0.0";
|
# addr = "0.0.0.0";
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
locations."/" = {
|
# locations."/" = {
|
||||||
proxyWebsockets = true;
|
# proxyWebsockets = true;
|
||||||
recommendedProxySettings = true;
|
# recommendedProxySettings = true;
|
||||||
proxyPass = "http://127.0.0.1:9111";
|
# proxyPass = "http://127.0.0.1:9111";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue