Nginx configuration

Need help? Post your questions here.

Moderator: moderators

Nginx configuration

Postby Halukard » Mon Mar 11, 2013 8:18 pm

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
Halukard
 
Posts: 1
Joined: Mon Mar 11, 2013 7:34 pm

Re: Nginx configuration

Postby hakko » Mon Mar 11, 2013 9:02 pm

Maybe this can provide some insight? viewtopic.php?f=6&t=10089
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to Help

Who is online

Users browsing this forum: No registered users and 24 guests