2023-12-04, 03:43 AM
I just migrated from apache to nginx today. Remove this entire section.
Code:
location = /web/ {
# Proxy main Jellyfin traffic
proxy_pass http://$server:8096/web/index.html;
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;
proxy_set_header Accept-Encoding "";
sub_filter '</body>' '<script plugin="Jellyscrub" version="1.0.0.0" src="/Trickplay/ClientScript"></script> </body>';
sub_filter_once on;
}