WebFaction
Community site: login faq

Hi, I am having a problem setting up a proxy to SoundCloud.

On my local copy of nginx, I have a proxy set up like this:

location /soundcloudtest/ {
     proxy_pass api.soundcloud.com;
}

So visiting http://debian:8080/soundcloudtest/ will proxy http://api.soundcloud.com/soundcloudtest/, which works fine.

When I do the exact same thing on my Webfaction account's nginx instance, it proxies http://soundcloud.com/soundcloudtest, not the api subdomain, and not only that, looking at the page's source, SoundCloud renders the site with my domain as the host, i.e:

<form accept-charset="utf-8" action="https://mywebfactiondomain.com/session" id="login-form" method="post">

Can anyone give me a clue why this is happening?

asked 06 Oct '12, 06:38

sut101
123
accept rate: 0%

edited 06 Oct '12, 07:42


Please submit a support ticket so we can check this in real-time. It is difficut to see why this might be happening from this information alone.

permanent link

answered 06 Oct '12, 17:54

johns
5.4k412
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×1

question asked: 06 Oct '12, 06:38

question was seen: 4,660 times

last updated: 06 Oct '12, 17:54

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM