add nextcloud config

This commit is contained in:
Lyn Fugmann 2022-11-18 17:00:20 +01:00
parent 82cad7563b
commit 6f3bdbc456
Signed by: fugi
GPG key ID: 4472A20091BFA792
6 changed files with 83 additions and 16 deletions

View file

@ -19,7 +19,7 @@ in
hedgedoc = {
enable = true;
configuration = {
settings = {
port = 3002;
domain = "${domain}";
protocolUseSSL = true;
@ -44,7 +44,7 @@ in
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.hedgedoc.configuration.port}";
proxyPass = "http://127.0.0.1:${toString config.services.hedgedoc.settings.port}";
proxyWebsockets = true;
};
};