3 ms·
You don't need node.js for this little service. If you're already using nginx you can just use the return directive. Voilà http://git.io/ip http://git.io/ip
by bartkozord 14y ago
You don't need node.js for this little service. If you're already using nginx you can just use the return directive. Voilà http://git.io/ip http://git.io/ip
- geuis 14y agoYes, I know. nginx is pretty awesome and I use it a lot in various servers. jsonip started as a node.js side-project for me a few years ago, and its scaled beautifully as traffic has grown. Its my preferred server environment these days, and I prefer to see how far it can be pushed. So far, I've yet to hit the limit on what it can do for this kind of high-traffic application. In the future, if it started capping out, I'd look at alternatives. But I'm not there yet, and I like to continue experimenting with node. =)