I would suggest to put your nodebb behind nginx, and have a location block matching static content use a proxy_pass directive pointing to your static server.
Use this as reference: https://nodebb.readthedocs.io/en/latest/scaling/index.html#use-a-proxy-server-to-serve-static-assets
And adjust it to have a proxy_pass http://static.example.com; instead of searching the local filesystem (ie, replace root and try_file directives) under the static content location block.
I believe this should work
I don't have an answer for you...
However, I did note that you are using PG. To that end, make sure to update the driver:
That's pretty much how all the old-school BBS's ran back in the day. I was running WWiV on C++ doing my own mods and compiles in the middle of the night after everyone logged in for their daily turns on the games.
The way information is now it's so much more accessible... almost dirty.