diff --git a/hosts/h001/mods/trilium.nix b/hosts/h001/mods/trilium.nix index 10e4154..5e9703f 100644 --- a/hosts/h001/mods/trilium.nix +++ b/hosts/h001/mods/trilium.nix @@ -4,7 +4,7 @@ services.trilium-server = { enable = true; port = 9111; - host = "127.0.0.1"; + host = "0.0.0.0"; dataDir = "/var/lib/trilium"; # noAuthentication = true; # keep authentication for now }; @@ -13,23 +13,23 @@ # "d /var/lib/trilium 0755 trilium trilium -" # ]; - services.nginx = { - virtualHosts = { - "trilium" = { - serverName = "h001.net.joshuabell.xyz"; - listen = [ - { - port = 9111; - addr = "0.0.0.0"; - } - ]; - locations."/" = { - proxyWebsockets = true; - recommendedProxySettings = true; - proxyPass = "http://127.0.0.1:9111"; - }; - }; - }; - }; + # services.nginx = { + # virtualHosts = { + # "trilium" = { + # serverName = "h001.net.joshuabell.xyz"; + # listen = [ + # { + # port = 9111; + # addr = "0.0.0.0"; + # } + # ]; + # locations."/" = { + # proxyWebsockets = true; + # recommendedProxySettings = true; + # proxyPass = "http://127.0.0.1:9111"; + # }; + # }; + # }; + # }; }; }