power721 / alist-tvbox

AList proxy server for TvBox, support playlist and search.
https://hub.docker.com/r/haroldli/xiaoya-tvbox
2.18k stars 446 forks source link

nginx反代 管理页面4567端口 无法访问 #109

Open justsee233 opened 11 months ago

justsee233 commented 11 months ago

vps有运行web服务,alist按官方文档反代能正常(https://域名/alist),但是tvbox管理页面不行(https://域名/tvbox),配置如下

location ^~ /tvbox/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_redirect off; proxy_pass http://localhost:4567/; }

gkl1368 commented 2 months ago

vps有运行web服务,alist按官方文档反代能正常(https://域名/alist),但是tvbox管理页面不行(https://域名/tvbox),配置如下

location ^~ /tvbox/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_redirect off; proxy_pass http://localhost:4567/; }

你好 请问解决了吗?

justsee233 commented 1 month ago

用的子域名tvbox.xxx.com可以

gkl1368 @.***> 于2024年8月1日周四 03:01写道:

vps有运行web服务,alist按官方文档反代能正常( https://域名/alist),但是tvbox管理页面不行(https://域名/tvbox),配置如下

location ^~ /tvbox/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_redirect off; proxy_pass http://localhost:4567/; }

你好 请问解决了吗?

— Reply to this email directly, view it on GitHub https://github.com/power721/alist-tvbox/issues/109#issuecomment-2261205938, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWRCF4A2KY3K64ZDQPEZ24DZPEX7LAVCNFSM6AAAAABLZCG4OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRGIYDKOJTHA . You are receiving this because you authored the thread.Message ID: @.***>

gkl1368 commented 1 month ago

用的子域名tvbox.xxx.com可以 gkl1368 @.> 于2024年8月1日周四 03:01写道: vps有运行web服务,alist按官方文档反代能正常( https://域名/alist),但是tvbox管理页面不行(https://域名/tvbox),配置如下 location ^~ /tvbox/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_redirect off; proxy_pass http://localhost:4567/; } 你好 请问解决了吗? — Reply to this email directly, view it on GitHub <#109 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWRCF4A2KY3K64ZDQPEZ24DZPEX7LAVCNFSM6AAAAABLZCG4OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRGIYDKOJTHA . You are receiving this because you authored the thread.Message ID: @.>

还是程序不支持