Hi,
I'm trying to use Subsonic with Nginx
my nginx is listening on port 8443
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/wildcard.domain.org.crt;
ssl_certificate_key /etc/nginx/ssl/wildcard.domain.org.key;
### Add SSL specific settings here ###
#port_in_redirect off;
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_pass http://127.0.0.1:4040;
### Set headers ####
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_set_header X-Forwarded-Proto https;
proxy_redirect off;
client_max_body_size 16G;
proxy_read_timeout 1800;
proxy_send_timeout 1800;
}
}
Subsonic is standard config (port 4040)
when trying to access https://subsonic.domain.org:8443/, I'm beeing redirect to:
http://subsonic.domain.org/login.view?
What's wrong?
