Re:Show HN: Routerless
by fredley on Monday July 10, 2017 @02:34PM
(#14738490)
Why is it running on port 3000?
[ Parent
| on HN ]
Re:Show HN: Routerless
by safeharbourio on Monday July 10, 2017 @03:25PM
(#14738878)
op couldnt be bothered to reverse proxy it behind nginx/{other load balancer}.
Re:Show HN: Routerless
by 43224gg252 on Monday July 10, 2017 @04:14PM
(#14739240)
or 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
Thank you for all advices. I'll host it properly. But what do you think about the library?
Re:Show HN: Routerless
by amingilani on Tuesday July 11, 2017 @11:37AM
(#14745043)
It 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.
I 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.