idootop / feiyu-player Goto Github PK
View Code? Open in Web Editor NEW🐟 一个漂亮得不像实力派的跨平台视频播放器
Home Page: https://feiyu-player.xbox.work
License: GNU General Public License v3.0
🐟 一个漂亮得不像实力派的跨平台视频播放器
Home Page: https://feiyu-player.xbox.work
License: GNU General Public License v3.0
没找到下载的地方
一、Nginx 代理二级目录配置
这是 nginx 反向代理配置
location /feiyu/ {
proxy_pass http://127.0.0.1:4399/;
proxy_set_header Host $host;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
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_http_version 1.1;
}
我在使用您的项目时遇到了关于 Nginx 代理二级目录配置方面的问题。具体来说,我想要将通过 Nginx 代理 /feiyu/ 路径的请求转发到后端服务,但不太清楚如何正确地配置 Nginx。
例如,我希望将请求 http://127.0.0.1:4399/
代理到 https://my.domain.com/feiyu/
,但是在实现过程中,似乎没有正确地处理路径,导致后端服务无法接收到预期的请求。
请问,是否能提供关于如何正确配置 Nginx 以实现这种代理的例子或指导?
二、Docker 无法进入容器的问题
这个是我的 docker compose 配置
feiyu:
image: idootop/feiyu:latest
container_name: feiyu
restart: always
ports:
- "4399:3000"
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
我在使用 Docker 时也遇到一个问题。由于所使用的 Docker 镜像非常精简,容器内没有 bash、sh 或其他常用命令可用,使得无法通过 docker exec 命令进入容器进行调试和操作。
对此,有没有推荐的解决方案?比如能否提供一些建议,帮助我在这种情况下进入容器,或是如何在构建镜像时确保可以访问容器?
期待您的回复!
苹果和飞飞的源好难找😥
源失效了
docker部署提示http.conf文件不存在啥的
我看您的项目采用的是 xgplayer,但我在实际使用xgplayer的兼容性不如 dplayer 这种基于 hls.js 库的。不知道作者是怎么解决的,
同时我看您的项目只用了 xgplayer 和 xgplayer-hls,是对 mpd flv 这种格式不做适配吗
挺好看的
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.