add hedgedoc

This commit is contained in:
jopejoe1 2024-05-02 08:37:51 +02:00
parent 697ea3be55
commit bfedae174b

View file

@ -56,6 +56,13 @@
proxyPass = "http://localhost:8080/";
};
};
"pad.missing.ninja" = {
locations."/".proxyPass = "http://localhost:3333";
locations."/socket.io/" = {
proxyPass = "http://localhost:3333";
proxyWebsockets = true;
};
};
};
};
@ -202,4 +209,18 @@
};
networking.firewall.allowPing = true;
services.hedgedoc = {
enable = true;
settings = {
db = {
dialect = "sqlite";
torage = "/var/lib/hedgedoc/db.hedgedoc.sqlite";
};
domain = "pad.it3";
port = 3333;
useSSL = false;
protocolUseSSL = false;
};
};
}