fix hedgedoc
This commit is contained in:
parent
97dc538040
commit
9dc63921b8
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue