Page 1 of 1

Nginx configuration

PostPosted: Mon Mar 11, 2013 8:18 pm
by Halukard
Hi,

i installated subsonic on raspberry pi with nginx. I have an error 404 when i'm going on http://my-rpi-p:4040

This is what i have in my file /etc/nginx/sites-enabled/

Code: Select all
server {
        listen  4040;
        server_name subsonic;

        location / {
                proxy_redirect  off;
                proxy_set_header        Host            $host;
                proxy_set_header        X-Real-IP       $remote_addr;
                proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        }
   }


subsonic is in /var/subsonic instead of /var/www/ for others websites on my rpi.

thx for helping me.

PS : sry for my bad inglish

Re: Nginx configuration

PostPosted: Mon Mar 11, 2013 9:02 pm
by hakko
Maybe this can provide some insight? viewtopic.php?f=6&t=10089