2023-11-19, 11:03 PM
(This post was last modified: 2023-11-19, 11:04 PM by levogevo. Edited 2 times in total.)
In Jellyfin, make sure the ip of the NPM instance is set in the Dashboard->Networking->Known Proxies.
In NPM, try adding this custom configuration (remove the space between the forward slashes in proxy_pass line):
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass $forward_scheme/ /$server:$port;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
Jellyfin works fine for me NPM and https this way
In NPM, try adding this custom configuration (remove the space between the forward slashes in proxy_pass line):
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass $forward_scheme/ /$server:$port;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
Jellyfin works fine for me NPM and https this way