Ok, upon further testing, this script is totally not going to work. I did some major cleanup, and got it down one script file with no extra files.
This is for Raspberry Pi OS that is fully patched as of 10/17/2020.
I just set this up last night. I was getting a 502 bad gateway error.
I put the extracted zip in /var/www/rompr. I changed permissions on that folder:
chown -R www-data rompr
Changed the root in the config to