fix cryptpad websocket port
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 29s

This commit is contained in:
Satria 2026-05-01 08:18:29 +07:00
commit b135e301f1

View file

@ -1,11 +1,11 @@
{ homelab, ... }: let { homelab, ... }: let
domain = "docs.${homelab.domain}"; domain = "docs.${homelab.domain}";
sandbox = "docs-sandbox.${homelab.domain}"; sandbox = "docs-sandbox.${homelab.domain}";
data-dir = "/mnt/data/apps/cryptpad";
in { in {
services.cryptpad = { services.cryptpad = {
enable = true; enable = true;
settings = { settings = {
websocketPort = 7091;
httpPort = 7090; httpPort = 7090;
httpAddress = "127.0.0.1"; httpAddress = "127.0.0.1";
httpUnsafeOrigin = "https://${domain}"; httpUnsafeOrigin = "https://${domain}";