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

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
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