0

I have a jellyfin server I want to proxy_pass to but when i go to 192.168.1.34/jellyfin/, I'm redirected to 192.168.1.34/web/index.html instead of 192.168.1.34/jellyfin/web/index.html. All I found online is that the trailing slash should take care of this problem but it does not work for me. I can see in the network tab that the redirect is triggered by a Location /web/index.html Header.

server {
    listen 80;
    server_name 192.168.1.34;

    location /jellyfin/ {
        proxy_pass http://192.168.1.65:8096/;
    }
    
    location /jellyfin/socket/ {
        proxy_pass http://192.168.1.65:8096/socket/;
        include proxy_params;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }

}

Is there a way to make this work? (I'm only using ipv4) Thanks.

Redover
  • 13
  • 3

0 Answers0