All checks were successful
Build and Push Docker Image / build (push) Successful in 3m14s
When running behind a reverse proxy that terminates TLS, khatru auto-detects ws:// instead of wss://, causing NIP-98 "u" tag validation to fail. SERVICE_URL overrides the auto-detected URL.
21 lines
564 B
Text
21 lines
564 B
Text
# Relay operator pubkey (hex format) - becomes the primary admin
|
|
PUBKEY=
|
|
|
|
# Additional admin pubkeys (comma-separated hex format)
|
|
ADMIN_PUBKEYS=
|
|
|
|
# Relay info (NIP-11)
|
|
NAME=Standard Relay
|
|
DESCRIPTION=A standard Nostr relay with NIP-86 management API
|
|
ICON=
|
|
|
|
# Public-facing URL (set when behind a reverse proxy to fix NIP-98 auth)
|
|
# SERVICE_URL=wss://your-relay.example.com
|
|
|
|
# Server configuration
|
|
PORT=3334
|
|
DB_PATH=./data/relay.db
|
|
|
|
# Allowlist mode (optional)
|
|
# When enabled, only pubkeys explicitly added to the allowlist can publish events
|
|
# ALLOWLIST_MODE=true
|