I eventually did manage with trial and error but it wasn't as simple as I thought, the documentation is a bit out of date and the nginx file for "install from scratch" is actually for docker. I still have some issues such as frequent timeouts which didnt happen before.