@julian If that code still works, then yes, it should. I stacked 10toship with the $100 student code that a kind member offered me. 😄
Is it possible to serve static files with another server?
Hao Lee last edited by Hao Lee
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