3 ms·
+1, although the author does explain: > [nginx's] main use is to provide HTTPS support I've been using nginx purely for HTTPS stuff because I have been too la
by rewq4321 7y ago
+1, although the author does explain:
> [nginx's] main use is to provide HTTPS support
I've been using nginx purely for HTTPS stuff because I have been too lazy to learn how to do it with node. When working on little no-user-info sites that don't need SSL, I have cloudflare in front with no encryption to the origin (just an A record pointing at the IP of the server), and then just have a simple express app which proxies the requests on port 80 to apps on 3000, 3001, 3002, etc. based on the host header - makes me so happy compared to playing around with nginx config files.