pull down to refresh

There's loads of info out there on how to setup NOSTR clients and not so much on relays. I would like, mainly, a guide on how to setup a stand alone relay on which I can customize authorization policies.