fix hedgedoc

This commit is contained in:
Lyn Fugmann 2022-11-18 19:08:43 +01:00
parent 1d638148c0
commit 61059500cd
Signed by: fugi
GPG key ID: 4472A20091BFA792
2 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@
./modules/sops.nix
./modules/keycloak.nix
./modules/nginx.nix
#./modules/hedgedoc.nix
./modules/hedgedoc.nix
./modules/wiki.nix
./modules/stream.nix
./modules/nextcloud.nix
@ -77,7 +77,7 @@
./modules/base.nix
./modules/keycloak.nix
./modules/nginx.nix
#./modules/hedgedoc.nix
./modules/hedgedoc.nix
./modules/wiki.nix
./modules/stream.nix
./modules/vm.nix

View file

@ -19,7 +19,7 @@ in
hedgedoc = {
enable = true;
settings = {
configuration = {
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.settings.port}";
proxyPass = "http://127.0.0.1:${toString config.services.hedgedoc.configuration.port}";
proxyWebsockets = true;
};
};