fix hedgedoc

This commit is contained in:
Rouven Seifert 2023-02-15 15:53:15 +01:00
parent 97dc538040
commit 9dc63921b8
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

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://[::1]:${toString config.services.hedgedoc.settings.port}";
proxyWebsockets = true;
};
};