Due to difficulties I had installing Piped, an alternative frontend for Youtube, I decided to improve and document the process in a better way. In the end, I pretty much redid the whole thing, leaving almost no stone un-turned. You can test my installer from my repo and post any comments and doubts here.
You can run with your own reverse proxy Nginx if:
You’ll still need 3 DNS names and a SSL certificate to cover all three.
TO configure your Nginx, you can use the template I provided on the config/ directory as a base.