2023-06-22, 06:32 PM
(This post was last modified: 2023-06-22, 06:52 PM by Venson. Edited 1 time in total.)
I set up my jellyfin server on windows. For the past week its been working perfectly over my local network, I wanted remote access. I already had Nginx proxy manager running in a docker container hosting other services. When I go to jellyfin.mydomain.com I can login and browse my media. I can also watch a few videos that have the webm format.( playback info of working video https://ibb.co/MgCX124 ) But the majority of things I try and play they show a playback error. https://ibb.co/n3c2jNp .
In the Nginx proxy manager advanced configuration I added
this was after reading the comments on this post https://www.reddit.com/r/jellyfin/commen...y_manager/
I tried adding this from the official Nginx guide but it causes Nginx proxy manager to show the status as offline.
Nginx config 1
Nginx SSL config
Please let me know if i could help you with any information I may have missed. thank you very much for all of the help.
In the Nginx proxy manager advanced configuration I added
Code:
location / {
# Proxy main Jellyfin traffic
proxy_pass $forward_scheme://$server:$port;
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 $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
# Disable buffering when the nginx proxy gets very resource heavy upon #treaming
proxy_buffering off;
}
location /embywebsocket {
# Proxy Jellyfin Websockets traffic
proxy_pass $forward_scheme://$server:$port;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
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 $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
}
this was after reading the comments on this post https://www.reddit.com/r/jellyfin/commen...y_manager/
I tried adding this from the official Nginx guide but it causes Nginx proxy manager to show the status as offline.
Code:
# Jellyfin
location /jellyfin {
return 302 $scheme://$host/jellyfin/;
}
location /jellyfin/ {
# Proxy main Jellyfin traffic
# The / at the end is significant.
# https://www.acunetix.com/blog/articles/a-fresh-look-on-reverse-proxy-related-attacks/
proxy_pass http://$jellyfin:8096;
proxy_pass_request_headers on;
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 $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
# Disable buffering when the nginx proxy gets very resource heavy upon streaming
proxy_buffering off;
}
}
Nginx config 1
Nginx SSL config
Please let me know if i could help you with any information I may have missed. thank you very much for all of the help.