I setup my media center application (utorent, couchpotato, sickgear, etc.) behind Caddy and all the applications are working properly except for Headphones.
In the Headphones config.ini files in the http_root = /music and am using port 8181.
Whenever I type in the browser localhost/music it displays 502 Bad Gateway. I have tried different ports, and restarting Heaphones and Caddy to no avail. Hope someone can assist as this is annoying.
The output is below, I tried curl with 127.0.0.1 and localhost and got 2 different results. Any idea why? When I try in the web browser 127.0.0.1:8181/music fails, but localhost:8181/music works.
Whitestrake, your advise to check curl led me to the find the solution. In the settings for Headphones under Http Host it was set to localhost and in the comment below the box it says Use 0.0.0.0 to allow outside connections. Once I changed it to 0.0.0.0 and restarted the application it started working again. It still says HTTP/1.1 301 Moved Permanently, which is odd, but at least now it works.