diff options
author | Emile <git@emile.space> | 2024-04-05 18:40:41 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-04-05 18:40:41 +0200 |
commit | 854f574800270191186ddcc2f787b42a2ac863ba (patch) | |
tree | 8c216927a35aad206e5157ed5982d37df1b3bee9 /nix/hosts/corrino/www/md.emile.space.nix | |
parent | 31ecdc7585c81902830dc46fee85841847482e92 (diff) |
default editor mode for pads
I don't want to leak pads by accident or random people dumping stuff in my hedgedoc instance.
Diffstat (limited to 'nix/hosts/corrino/www/md.emile.space.nix')
-rw-r--r-- | nix/hosts/corrino/www/md.emile.space.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nix/hosts/corrino/www/md.emile.space.nix b/nix/hosts/corrino/www/md.emile.space.nix index 29ddc67..2fb2ee4 100644 --- a/nix/hosts/corrino/www/md.emile.space.nix +++ b/nix/hosts/corrino/www/md.emile.space.nix @@ -76,6 +76,11 @@ in { # Only applied if domain is set. protocolUseSSL = true; + # don't allow unauthenticated people to just write somewhere + allowAnonymous = false; + + defaultPermission = "private"; + db = { dialect = "sqlite"; storage = "/var/lib/hedgedoc/db.sqlite"; |