From 8a189bcd2e1ce8866c896acdbd93dda202f10b65 Mon Sep 17 00:00:00 2001 From: Yonle Date: Mon, 20 Nov 2023 21:10:57 +0700 Subject: [PATCH] defaultconf: Make it more understandable. Signed-off-by: Yonle --- config.js.example | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config.js.example b/config.js.example index c6dd6c6..53ae9ec 100644 --- a/config.js.example +++ b/config.js.example @@ -16,18 +16,19 @@ module.exports = { // Time before reconnect to relays in miliseconds. reconnect_time: 5000, - // For personal usage. Leaving this empty allows everyone to use this bostr instance. - // NOTE: Require NIP-42 on client. + // For personal usage. This is a whitelist of users public keys that could use this bouncer. + // Leaving this empty will allows everyone to use this bouncer. + // NOTE: - Require NIP-42 compatible nostr client authorized_keys: [ // "pubkey-in-hex", // "npub ....", // .... ], - // For personal usage. Leaving this empty completely disables NIP-42 function. - // Private key of authorized user. It could be your key. + // For personal usage. Used for authenticating NIP-42 relays to access certain events (such as kind 4, etc). + // It could be your key. Leaving this empty completely disables NIP-42 function. // NOTE: - NIP-42 (auth) is ONLY supported with provided - // - Ensure that is NOT empty so only could access this server + // - To use one of the following privatekeys, NIP-42 compatible nostr client is required. private_keys: { // "pubkey-in-hex": "privatekey", // "pubkey-in-hex": "nsec ...."