News for hackers. Stuff that matters.
Re:Ask HN: What web framework should I use nowadays? by jonesetc on Saturday August 20, 2016 @09:40AM (#12326528)
> A nodejs reverse proxy forks the API and static web requests between tomcat and another nodejs static webserver.

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.

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.