configure proxies to rails app