tsquillario/Jamstash

Jamstash not loading, showing Directory/Jamstash

Closed this issue · 1 comments

Hi there !
Installed as instructed, but nginx is not serving the page. Instead it shows me the content of the Jamstash directory.

My nginx- vhost config:

server {
listen 80;
server_name sub.DOMAIN.com;

    location / {
            proxy_pass      http://127.0.0.1:4040;
            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;
    }

}

Hi !

I'm not yet super-familiar with nginx configuration but it seems that you're trying to do a reverse-proxy to Subsonic. I can't really help you with that.
Jamstash really is only made of static html, css, javascript and images so you should be able to serve those directly (without proxy_pass). Just download the dist/ folder.
If you're familiar with Docker, I've created an image with Jamstash v4.4.2 installed on nginx. See it on Docker Hub.
Hope it helps !