-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
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
[BUG]关于webman的配置 #40
Comments
宝塔使用时php没有正确加载redis扩展,通用的解决方法在研究。可以自己在cli-php.ini加入以下 extension=/php模块目录/redis.so 另外你的nginx反代也要改改,不然静态资源用不了 |
|
@Sugerland kk |
我直接照抄了 location / { location @backend { location ~ .*.(js|css)?$ 而且发现另外一个bug 用户导入订阅时的地址变成了 |
@Sugerland 不是检查了一下,是要写进cli-php.ini 你后台不设置订阅地址吗 |
我发现有两个cli-php.ini文件 |
GET https://xxx/assets/admin/custom.css?v=1.7.5.2685 net::ERR_ABORTED 404 (Not Found) |
@Sugerland 你说的话看不懂... |
@backend; 这个是什么 有点没理解 写一模一样的》? |
这个是给你自定义css用的 |
这个你看不懂就照着写 |
改完了 也重启了webman 前端卡登录 后端404 这个太难整了 5555 |
我后面换个宝塔环境再出配套说明吧 |
谢谢 期待教程 webman 以前没接触过 搞了我两天了 我还是没弄好 |
🙇♂️🙇♂️🙇♂️注意:XrayR等非V2Board问题请前往项目方提问
🙇♂️🙇♂️🙇♂️Note: XrayR and other non-V2Board issues please go to the project side to ask questions
The V2Board version number you are using
当前使用的V2Board版本号
1.7.4
Briefly describe the problem you are experiencing
简单描述你遇到的问题
升级至最新版本(webman)之后,admin后台报错,显示请求失败
初步推测是缺失某些文件以及某些权限异常,无法判定admin是否登录
我的升级步骤是
卸载原有的php插件 卸载php 安装8.1 安装插件 网站内选择切换至8.1
修改伪静态, 升级面板
用户端无报错 开启webman无报错
伪静态规则
location /downloads {
}
location / {
# try_files $uri $uri/ /index.php$is_args$query_string;
proxy_pass http://127.0.0.1:6600;
}
location ~ .*.(js|css)?$
{
expires 1h;
error_log off;
access_log /dev/null;
}
Screenshot of the reported error(Please do desensitization)
报告错误的截图(请做脱敏处理)
Screenshot of the reported error(Please do desensitization)
报告错误的截图(请做脱敏处理)
The latest log files in the storage/logs directory report from #1 (Please do desensitization)
storage/logs 目录下最新的日志文件从 #1 开始报告(请做脱敏处理)
The text was updated successfully, but these errors were encountered: