rstudio / redx

dynamic nginx configuration
BSD 2-Clause "Simplified" License
117 stars 27 forks source link

Router Table Support in NGINX #26

Closed willcode4food closed 8 years ago

willcode4food commented 8 years ago

I saw this enhancement request on hipache's repo https://github.com/hipache/hipache/issues/20

I was wondering since NGINX is being used, would Redx support URL rewriting? Or is this something a plugin could be used to solve?

cbarraford commented 8 years ago

As i read that hipache issue, it sounds like they just want to route a certain path to a certain server. Redx does this out of the box (not special nginx configs or additional plugins).

This would be done by setting up backends (in the hipache example) for each "route". Then frontends that match to a specific backend

Does that make sense?

willcode4food commented 8 years ago

yes it does. Thank you so much.

On Thu, Jun 16, 2016 at 11:19 AM Chad Barraford notifications@github.com wrote:

As i read that hipache issue, it sounds like they just want to route a certain path to a certain server. Redx does this out of the box (not special nginx configs or additional plugins).

This would be done by setting up backends (in the hipache example) for each "route". Then frontends that match to a specific backend

Does that make sense?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rstudio/redx/issues/26#issuecomment-226518032, or mute the thread https://github.com/notifications/unsubscribe/ABkrVdoVXBvvjSe_VXHmEoaKRMYCa5sOks5qMWlggaJpZM4I2xn- .