I have a Rails app running on e.g. example.com. Any request is processed by Rails router.
There is public API on e.g. example.com/rest/2.0/session. API is done on PHP and is unrelated to main app.
Is it possible to proxy requests to API bypassing Rails application?
Sorry in advance, no clues found in internet.