I built a Shopify App using the Shopify API Gem in Rails. All works well in the dev environment, however when I switch to prod there is one small problem. The prod env has a load balancer, app server and db server. Problem is, when the app server handles the oauth calls, it's appending port 7000 to the redirect url since that is the port that the app server is listening on. I need the port to be 80 since that is the port the load balancer is using to pass requests through. Any help on how to alter the config of the callback URL would be appreciated.

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

1

You need to ask this question to a group of system admins that care about such things as load balancing, ports and proxies. This question has nothing to do with oAuth or Shopify.
–
David LazarJan 25 '13 at 19:04