开发者

Configure a reverse proxy on Heroku Bamboo stack

开发者 https://www.devze.com 2023-04-04 22:13 出处:网络
I have a Heroku-hosted site that needs to make AJAX requests to a non-Heroku subdomain.In the non-Heroku past I\'ve done th开发者_如何学编程is with a reverse proxy (to sub.my.domain ) in Apache in ord

I have a Heroku-hosted site that needs to make AJAX requests to a non-Heroku subdomain. In the non-Heroku past I've done th开发者_如何学编程is with a reverse proxy (to sub.my.domain ) in Apache in order to overcome the browser security model.

I'd like to avoid code changes (e.g. switch to JSONP) at this point. How do I set up a reverse proxy on Heroku, or do you think another option is best like creating a reverse proxy elsewhere and proxying both main and sub domains?


the Heroku support team is top-notch, you should consider asking them for help.

support@heroku.com
0

精彩评论

暂无评论...
验证码 换一张
取 消