Add strfry policies and members-only LDAP policy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This will look up nostr pubkeys in the LDAP directory to allow or deny
publishing notes to the relay.
This commit is contained in:
2024-06-09 22:49:44 +02:00
parent 5a5c316c14
commit c2c3ebc2e1
4 changed files with 79 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ relay {
info {
# NIP-11: Name of this server. Short/descriptive (< 30 characters)
name = "akkounts-nostr-relay"
name = "Akkounts Nostr Relay"
# NIP-11: Detailed information about relay, free-form
description = "Local strfry instance for akkounts development"
@@ -86,7 +86,7 @@ relay {
writePolicy {
# If non-empty, path to an executable script that implements the writePolicy plugin logic
plugin = ""
plugin = "/opt/strfry-policy.ts"
}
compression {