add hedgedoc
This commit is contained in:
parent
697ea3be55
commit
bfedae174b
1 changed files with 21 additions and 0 deletions
|
@ -56,6 +56,13 @@
|
||||||
proxyPass = "http://localhost:8080/";
|
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;
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue