Minimalist unixy screensharing and general video streaming over RTMP

Setup

(This guide assumes that you are running GNU and have nginx set up and running already, you might have to adjust this for other UNIX-like operating systems.)
PS to any proprietary streaming service administrators:
Go fuck yourself and shove your niggerlicious proprietary javascripty "streaming platform" up your ass along with all the censorship and datamining you spend 90% of your resources on.