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 = { hedgedoc = {
enable = true; enable = true;
configuration = { settings = {
port = 3002; port = 3002;
domain = "${domain}"; domain = "${domain}";
protocolUseSSL = true; protocolUseSSL = true;
@ -44,7 +44,7 @@ in
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.hedgedoc.configuration.port}"; proxyPass = "http://[::1]:${toString config.services.hedgedoc.settings.port}";
proxyWebsockets = true; proxyWebsockets = true;
}; };
}; };