Merge pull request #8 from fsr/fix-hedgedoc

This commit is contained in:
Tassilo Tanneberger 2022-11-25 16:49:50 +01:00 committed by GitHub
commit 6261bda182
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
};
};