We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用Nginx反向代理Jellyfin并在location块中插入:
#禁用与后端压缩并侧载脚本 proxy_set_header Accept-Encoding ""; sub_filter '</body>' '<script src="https://jellyfin-danmaku.pages.dev/ede.user.js" defer></script></body>'; sub_filter_once on;
即可由Nginx完成插入:
更完整的Nginx配置实例:
location / { proxy_pass http://127.0.0.1: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_buffering off; } location = /web/index.html { return 301 /web/; } location = /web/ { proxy_pass http://127.0.0.1:8096/web/; 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 Accept-Encoding ""; sub_filter '</body>' '<script src="https://jellyfin-danmaku.pages.dev/ede.user.js" defer></script></body>'; sub_filter_once on; } location /socket { proxy_pass http://127.0.0.1:8096; 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; }
不同Jellyfin版本不全相同,使用时请根据实际情况调整
The text was updated successfully, but these errors were encountered:
感谢,我抽空更新一下readme
Sorry, something went wrong.
No branches or pull requests
使用Nginx反向代理Jellyfin并在location块中插入:
即可由Nginx完成插入:
更完整的Nginx配置实例:
不同Jellyfin版本不全相同,使用时请根据实际情况调整
The text was updated successfully, but these errors were encountered: