by Immortalin on 11/5/18, 3:05 AM with 74 comments
by KeitIG on 11/5/18, 10:09 AM
If you just want reverse-proxying, you can choose between the simplicity of Caddy or the power of Nginx (or Apache). Why would I want to run a JS app (that I know will be less performant) to do that?
[1] https://expressjs.com/en/advanced/best-practice-performance.html
by viraptor on 11/5/18, 6:43 AM
by dzek69 on 11/5/18, 9:32 AM
Finally I got rid of it and replaced it with Caddy webserver
by uptime on 11/5/18, 1:25 PM
I’m not ready for full k8s, but traefik gives me ACME and detects my docker containers and routes them for me.
If I only need https redir I’ll use that or nginx.
I can Redbird being useful where you only have node as an option.
by davnicwil on 11/5/18, 3:30 PM
> We have now support for automatic generation of SSL certificates using LetsEncrypt. Zero config setup for your TLS protected services that just works.
I've scripted this kind of letsencrypt certs automation before with certbot and nginx, which is fine but a 'just works' declarative plugin for nginx would be much nicer.
Does anything like this exist? Anyone have experience with using it? Asking here as googling brings up a bunch of outdated forum threads etc to wade through.
by sbmthakur on 11/5/18, 7:13 AM
Automatic routing via Redis
Could anyone explain to me how does this work and what is automatic routing in this context?
by jaimehrubiks on 11/5/18, 6:29 AM
by skrebbel on 11/5/18, 7:41 AM
by Aeolun on 11/5/18, 11:43 AM
I don’t know, a last release that long ago doesn’t inspire faith in the health of the project.
by rdsubhas on 11/5/18, 4:35 PM
But to be frank, we have used node-http-proxy and other stuff before. It doesn't end with development. People put this to reverse proxy API calls in production, and then the other stuff that this calls into - it also uses proxying to call more stuff. In general, if you find yourself using this as a "convenient, declarative way to route" in production, you _might potentially_ be digging yourself a hole. The lines between "harmless reverse proxying" and "service routing and discovery" can become thin.
by stonewhite on 11/5/18, 8:06 AM
by gigel82 on 11/5/18, 9:17 PM
If you have to serve a large static file - guess what... no other request gets processed at the same time. It's a neat idea but until we get true multi-threading in Node.js, I'll stick with my nginx, thank you very much.
by shard972 on 11/5/18, 5:48 AM
Without a proxy your forced to only work on one area of the app at once so hopefully something like this will let me run all webpack instances under the same endpoint during dev.
by blorenz on 11/5/18, 1:44 PM
by novaleaf on 11/5/18, 4:45 PM
by d--b on 11/5/18, 12:04 PM
by erikpukinskis on 11/5/18, 11:43 PM
by api on 11/5/18, 4:49 PM
by johnpython on 11/5/18, 12:14 PM