Page 1 of 1

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

PostPosted: Tue Aug 09, 2016 11:29 am
by korry
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

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

PostPosted: Tue Aug 09, 2016 5:30 pm
by korry
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?