Re:Ask HN: What web framework should I use nowadays?
by data37 on Saturday August 20, 2016 @11:04AM
(#12326897)
NodeJS rev proxy allows custom logic after intercepting requests - all in javascript. Not sure if NGinx would allow that. But yes, I would probably move to Nginx in near future for its tomcat-like robustness.
Just curious why you don't use nginx here. It will serve static files and proxy to the API. I'm sure the nodejs proxy was easy enough, but adding in gzipping files, rewrite rules, SSL, etc and it seems like nginx would even end up being more simple.