SOLVED Subsonic + nginx - mp3s won't play in external player

General discussions.

Moderator: moderators

SOLVED Subsonic + nginx - mp3s won't play in external player

Postby korry » Tue Aug 09, 2016 11:29 am

Hi

I am trying to setup nginx as a reverse proxy for subbsonic W/O SSL. It works in general, i am able to login to subsonic and to browse my collection. I am also able to play my MP3 when i am behind the router however when i am not, they get played in the web based player only, but not in an external player - in this case the internal IP of the subsonic server is preppended to the stream and sure it does not work. It looks like: http://192.168.1.17:4040/stream?player= ... uffix=.mp3

My nginx section:

server {
listen 80;
server_name my.subsonic.domain.tld;

location / {
proxy_pass http://localhost:4040;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
proxy_redirect default;

}
}

My /etc/default/subsonic:

SUBSONIC_ARGS="--max-memory=512"
SUBSONIC_USER=subsonic

What should i change in order to get it working? Thanks in advance
Last edited by korry on Tue Aug 09, 2016 6:19 pm, edited 1 time in total.
korry
 
Posts: 2
Joined: Tue Aug 09, 2016 11:08 am

Re: Subsonic and nginx - mp3s won't play in external player

Postby korry » Tue Aug 09, 2016 5:30 pm

Got it - Admin, Settings, Network, the option Access your server over the Internet using an easy-to-remember address was disabled. BTW is it a premium feature if i put my domain here and not XYZ.subsonic.org?
korry
 
Posts: 2
Joined: Tue Aug 09, 2016 11:08 am


Return to General

Who is online

Users browsing this forum: No registered users and 6 guests