Setup jail(s) First, we’ll assume there’s already a jail running webserver nginx, which we’ll use as reverse-proxy for Matrix. We’ll assume you have postgresql in another jail already running, too.