5 ms·
op couldnt be bothered to reverse proxy it behind nginx/{other load balancer}.
by safeharbourio 9y ago
op couldnt be bothered to reverse proxy it behind nginx/{other load balancer}.
- 43224gg252 9y agoor just redirect port 80 traffic to 3000 with iptables, it's one command. sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000
- madmaniak 9y agoThank you for all advices. I'll host it properly. But what do you think about the library?
- amingilani 9y agoIt took me a while from reading all the comments to realize that it's a client side library that stores state in the URL. It's nice but I'm still not sure when to use it and why you made it. Maybe you could add your personal use and motivation to it? Otherwise it's a clever library.
- madmaniak 9y agoI just disagree with declaring paths with kind of regex pattern matching set of rules. This approach is flexible and natural. It will not stop you when your application became complex and even with simple cases it's faster - you touch less places in your code to make a change.