Oh my god! thanks to you!!
First upgraded my nginx to the latest (I was running 1.2.1)
There is my subsonic config:
root@coruscant:/etc/nginx/sites-enabled# cat /etc/default/subsonic
#
# This is the configuration file for the Subsonic service
# (/etc/init.d/subsonic)
#
# To change the startup parameters of Subsonic, modify
# the SUBSONIC_ARGS variable below.
#
# Type "subsonic --help" on the command line to read an
# explanation of the different options.
#
# For example, to specify that Subsonic should use port 80 (for http)
# and 443 (for https), and use a Java memory heap size of 200 MB, use
# the following:
#
# SUBSONIC_ARGS="--port=80 --https-port=443 --max-memory=200"
SUBSONIC_ARGS="--port=0 --https-port=4141 --max-memory=150"
# The user which should run the Subsonic process. Default "root".
# Note that non-root users are by default not allowed to use ports
# below 1024. Also make sure to grant the user write permissions in
# the music directories, otherwise changing album art and tags will fail.
SUBSONIC_USER=www-data
and there is my nginx config:
server {
### server port and name ###
listen 10.66.26.192:8443 ssl;
server_name subsonic.domain.org;
### SSL log files ###
access_log /var/log/nginx/subsonic-access.log;
error_log /var/log/nginx/subsonic-error.log;
### SSL cert files ###
ssl_certificate /etc/nginx/ssl/domain.org.crt;
ssl_certificate_key /etc/nginx/ssl/domain.org.key;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
ssl_session_timeout 5m;
### We want full access to SSL via backend ###
location / {
proxy_ssl_protocols SSLv3;
proxy_pass https://127.0.0.1:4141;
### Set headers ####
proxy_set_header Host $host:8443;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
client_max_body_size 16G;
proxy_read_timeout 1800;
proxy_send_timeout 1800;
}
}
First upgraded my nginx to the latest (I was running 1.2.1)
There is my subsonic config:
root@coruscant:/etc/nginx/sites-enabled# cat /etc/default/subsonic
#
# This is the configuration file for the Subsonic service
# (/etc/init.d/subsonic)
#
# To change the startup parameters of Subsonic, modify
# the SUBSONIC_ARGS variable below.
#
# Type "subsonic --help" on the command line to read an
# explanation of the different options.
#
# For example, to specify that Subsonic should use port 80 (for http)
# and 443 (for https), and use a Java memory heap size of 200 MB, use
# the following:
#
# SUBSONIC_ARGS="--port=80 --https-port=443 --max-memory=200"
SUBSONIC_ARGS="--port=0 --https-port=4141 --max-memory=150"
# The user which should run the Subsonic process. Default "root".
# Note that non-root users are by default not allowed to use ports
# below 1024. Also make sure to grant the user write permissions in
# the music directories, otherwise changing album art and tags will fail.
SUBSONIC_USER=www-data
and there is my nginx config:
server {
### server port and name ###
listen 10.66.26.192:8443 ssl;
server_name subsonic.domain.org;
### SSL log files ###
access_log /var/log/nginx/subsonic-access.log;
error_log /var/log/nginx/subsonic-error.log;
### SSL cert files ###
ssl_certificate /etc/nginx/ssl/domain.org.crt;
ssl_certificate_key /etc/nginx/ssl/domain.org.key;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
ssl_session_timeout 5m;
### We want full access to SSL via backend ###
location / {
proxy_ssl_protocols SSLv3;
proxy_pass https://127.0.0.1:4141;
### Set headers ####
proxy_set_header Host $host:8443;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
client_max_body_size 16G;
proxy_read_timeout 1800;
proxy_send_timeout 1800;
}
}