Comments (15)
宝塔使用时php没有正确加载redis扩展,通用的解决方法在研究。可以自己在cli-php.ini加入以下
extension=/php模块目录/redis.so
另外你的nginx反代也要改改,不然静态资源用不了
from v2board.
location /downloads {
}
location / {
try_files $uri $uri/ @backend;
}
location @backend {
proxy_pass http://127.0.0.1:6600;
}
location ~ .*.(js|css)?$
{
expires 1h;
error_log off;
access_log /dev/null;
}
from v2board.
@Sugerland kk
from v2board.
我直接照抄了
location /downloads {
}
location / {
try_files $uri $uri/ @backend;
}
location @backend {
proxy_pass http://127.0.0.1:6600;
}
location ~ .*.(js|css)?$
{
expires 1h;
error_log off;
access_log /dev/null;
}
也检查了一下
extension=/php模块目录/redis.so
依然出现报错
而且发现另外一个bug
用户导入订阅时的地址变成了
http://127.0.0.1:6000/xxxx
from v2board.
@Sugerland 不是检查了一下,是要写进cli-php.ini
你后台不设置订阅地址吗
from v2board.
我发现有两个cli-php.ini文件
一个在网站目录 一个在comporse目录
我都添加了redis.so
后台访问不报错,但是无法正常保存设置
一保存就显示请求失败
from v2board.
GET https://xxx/assets/admin/custom.css?v=1.7.5.2685 net::ERR_ABORTED 404 (Not Found)
真的有这个custom.css?v=1.7.5.2685 文件吗
from v2board.
@Sugerland 你说的话看不懂...
from v2board.
@backend; 这个是什么 有点没理解 写一模一样的》?
from v2board.
GET https://xxx/assets/admin/custom.css?v=1.7.5.2685 net::ERR_ABORTED 404 (Not Found)
真的有这个custom.css?v=1.7.5.2685 文件吗
这个是给你自定义css用的
没有也不影响
from v2board.
@backend; 这个是什么 有点没理解 写一模一样的》?
这个你看不懂就照着写
from v2board.
改完了 也重启了webman 前端卡登录 后端404 这个太难整了 5555
from v2board.
我后面换个宝塔环境再出配套说明吧
现在这样太费劲了
from v2board.
谢谢 期待教程 webman 以前没接触过 搞了我两天了 我还是没弄好
from v2board.
https://github.com/vlesstop/xiaoV2b/blob/main/README.md
from v2board.
Related Issues (20)
- [Feature request]感谢您的分享。希望有空的话做一个 wyx2685/V2bX 的docker compose~ HOT 6
- [Feature request]能否对原版v2b的 Clash 配置文件导入逻辑进行修改 HOT 2
- [BUG]流量显示错误
- [BUG]trojan+ws协议,无法下发V2rayN['path'] WebSocket路径信息 HOT 5
- [Feature request] HOT 1
- [BUG]关于已折抵的订单无法进行佣金下发 HOT 2
- [BUG]我用一台机子装有vless,用另一台装节点选择里就没有vless了但是有h2 HOT 3
- [BUG]用户到期最后一天会自动重置流量 HOT 5
- [Feature request] 后端问题 HOT 2
- [Feature request] HOT 1
- [BUG]PHP83在执行PHP命令时提示Using ${var} in strings is deprecated语法废弃的问题 HOT 1
- [Feature request]请求适配MySQL 8版本 HOT 2
- [Feature request] 添加配置Hysteria2的端口跳跃 HOT 1
- [BUG]后端在线用户上报问题反馈 HOT 1
- [Feature request] vless支持 HOT 1
- [BUG] 大佬,我这配置 REALITY了, 启动不了
- USDT插件支付问题
- [BUG] ss 未支持obfs HOT 1
- 在配置主题时报错 HOT 2
- [BUG] Failure to display the number of active devices in the node HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2board.