ruby on rails - How to use reverse proxy on apache for a specific url? -
i have load balancer balances 2 servers & b on cloud both of have apache running on them. & b can serve requests except search powered a. search request through http://example.com/search
. if b receive such request, how can forward request , serve response received server client?
ps: running ruby on rails.
apache's proxypass directive seems you're asking for.
you in server b configuration:
proxypass /search http://server-a.example.com
Comments
Post a Comment