1
0

hosts/web-2: Remove md.clerie.de

This commit is contained in:
clerie 2024-05-10 14:31:16 +02:00
parent 28e1168c7e
commit 9fd359f14e
2 changed files with 0 additions and 43 deletions

View File

@ -12,7 +12,6 @@
./drop.nix ./drop.nix
./fieldpoc.nix ./fieldpoc.nix
./gitea.nix ./gitea.nix
./hedgedoc.nix
./iot-data.nix ./iot-data.nix
./ip.nix ./ip.nix
./legal.nix ./legal.nix

View File

@ -1,42 +0,0 @@
{ ... }:
{
services.hedgedoc = {
enable = true;
settings = {
domain = "md.clerie.de";
protocolUseSSL = true;
db = {
dialect = "postgres";
host = "/run/postgresql";
};
port = 3835;
host = "::1";
allowEmailRegister = false;
};
};
services.postgresql = {
ensureDatabases = [ "hedgedoc" ];
ensureUsers = [
{
name = "hedgedoc";
ensureDBOwnership = true;
}
];
};
services.nginx.virtualHosts = {
"md.clerie.de" = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
proxyPass = "http://[::1]:3835";
proxyWebsockets = true;
};
};
};
};
}