upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.env.example
diff options
context:
space:
mode:
Diffstat (limited to '.env.example')
-rw-r--r--.env.example25
1 files changed, 24 insertions, 1 deletions
diff --git a/.env.example b/.env.example
index 993399a..fb954c0 100644
--- a/.env.example
+++ b/.env.example
@@ -254,4 +254,27 @@
254# NGIT_REPOSITORY_BLACKLIST=npub1spam... 254# NGIT_REPOSITORY_BLACKLIST=npub1spam...
255# NGIT_REPOSITORY_BLACKLIST=npub1alice.../bad-repo 255# NGIT_REPOSITORY_BLACKLIST=npub1alice.../bad-repo
256# NGIT_REPOSITORY_BLACKLIST=malware-repo,spam-repo 256# NGIT_REPOSITORY_BLACKLIST=malware-repo,spam-repo
257# NGIT_REPOSITORY_BLACKLIST= \ No newline at end of file 257# NGIT_REPOSITORY_BLACKLIST=
258
259# ============================================================================
260# EVENT BLACKLIST
261# ============================================================================
262
263# Blacklist events from specific authors (npubs)
264# Comma-separated list of npubs whose events are rejected
265# ALL events from these authors are blocked from both relay storage and purgatory
266#
267# Event blacklist takes precedence over ALL other validation:
268# - Blacklisted events are rejected before any other policy checks
269# - Applies to announcements, state events, PRs, and all other event types
270# - Events never reach purgatory (rejected immediately)
271#
272# Rejection reason:
273# - "Event author <npub> is blacklisted"
274#
275# CLI: --event-blacklist <list>
276# Default: (empty - no events are blacklisted by author)
277# Examples:
278# NGIT_EVENT_BLACKLIST=npub1spam...
279# NGIT_EVENT_BLACKLIST=npub1spam...,npub1abuser...
280# NGIT_EVENT_BLACKLIST= \ No newline at end of file