You can’t janny yet but this uses little resources so you can do separate relays on same machine
Discussion
Are you sure? That seems dangerous from a liability perspective.
There is literally no docs and the fact that spammers ruined a few popular relays tells me that there is no janny. Features
This looks like the best guide to setting up a relay to start with
https://github.com/BlockChainCaffe/Nostr-Relay-Setup-Guide
But there's not really any mention of configuration or black/whitelisting. Maybe it's in the code, but it's written in tranny Rust and likely way overcomplicated, so I don't really care to delve into it. Maybe there's a Go relay with similar capabilities.
If you want a community, you'd have to whitelist public keys on a given relay. For it to be usable, you'd need an interface that only shows posts from that given relay or set of relays that you like (kind of like home timeline on fedi).