fix(MOMO): set recommended nginx settings

This commit is contained in:
Jacob Bachmann 2025-10-13 11:03:00 +02:00
parent 9b95f4de65
commit 624faee52d
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
3 changed files with 15 additions and 13 deletions

View file

@ -5,21 +5,24 @@
settings = {
port = 8009;
host = "127.0.0.1";
allowOrigin =
[ "localhost" "127.0.0.1" "hedgedoc.dryb.org" "md.dryb.org" ];
allowGravatar = true;
domain = "hedgedoc.dryb.org";
protocolUseSSL = true;
db = {
username = "hedgedoc";
database = "hedgedoc";
host = "postgresql:///hedgedoc";
host = "/run/postgresql";
dialect = "postgresql";
};
allowAnonymous = false;
allowAnonymousEdits = false;
allowFreeURL = true;
requireFreeURLAuthentication = true;
email = true;
allowEmailRegister = true;
allowEmailRegister = false;
allowGravatar = true;
};
};