Welcome! Log In Create A New Profile

Advanced

Does nginx have a Routing API?

February 12, 2016 02:35PM
I am trying to see if nginx (OSS, not commercial) can be used not only as a load balancer, but as a network router/switch in the event that I need to shut my app down and redirect traffic to a CDN/static page, etc.

I was hoping to find a REST API that might allow me to configure routing rules on the fly but alas, I see nothing.

Does nginx provide this functionality out of the box? Or can I pair it with something that does? This would be a Java app it is balancing, and I see there is an nginx-clojure (https://github.com/nginx-clojure/nginx-clojure) module. So perhaps I could expose a REST endpoint through Java (running on the nginx server) somehow...thoughts?
Subject Author Posted

Does nginx have a Routing API?

zharvey February 12, 2016 02:35PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 107
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready