chore: cleanup

This commit is contained in:
2025-01-30 11:45:05 +00:00
parent 9045bb93e4
commit e11d7dc787
16 changed files with 322 additions and 111 deletions

View File

@ -47,7 +47,7 @@ relay {
port = 7777
# Set OS-limit on maximum number of open files/sockets (if 0, don't attempt to set) (restart required)
nofiles = 1000000
nofiles = 0
# HTTP header that contains the client's real IP, before reverse proxying (ie x-real-ip) (MUST be all lower-case)
realIpHeader = ""
@ -64,6 +64,12 @@ relay {
# NIP-11: Alternative administrative contact (email, website, etc)
contact = ""
# NIP-11: URL pointing to an image to be used as an icon for the relay
icon = ""
# List of supported lists as JSON array, or empty string to use default. Example: "[1,2]"
nips = ""
}
# Maximum accepted incoming websocket frame size (should be larger than max event) (restart required)
@ -86,7 +92,7 @@ relay {
writePolicy {
# If non-empty, path to an executable script that implements the writePolicy plugin logic
plugin = "/app/write-policy.py"
plugin = ""
}
compression {
@ -135,4 +141,4 @@ relay {
# Maximum records that sync will process before returning an error
maxSyncEvents = 1000000
}
}
}