Code Monkey home page Code Monkey logo

Comments (15)

wyx2685 avatar wyx2685 commented on August 19, 2024

宝塔使用时php没有正确加载redis扩展,通用的解决方法在研究。可以自己在cli-php.ini加入以下

extension=/php模块目录/redis.so

另外你的nginx反代也要改改,不然静态资源用不了

from v2board.

wyx2685 avatar wyx2685 commented on August 19, 2024
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.

wyx2685 avatar wyx2685 commented on August 19, 2024

@Sugerland kk

from v2board.

Sugerland avatar Sugerland commented on August 19, 2024

我直接照抄了
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
屏幕截图 2023-12-02 153959
依然出现报错

而且发现另外一个bug

用户导入订阅时的地址变成了
http://127.0.0.1:6000/xxxx

from v2board.

wyx2685 avatar wyx2685 commented on August 19, 2024

@Sugerland 不是检查了一下,是要写进cli-php.ini

你后台不设置订阅地址吗

from v2board.

Sugerland avatar Sugerland commented on August 19, 2024

我发现有两个cli-php.ini文件
一个在网站目录 一个在comporse目录
我都添加了redis.so
后台访问不报错,但是无法正常保存设置
一保存就显示请求失败

from v2board.

Sugerland avatar Sugerland commented on August 19, 2024

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.

wyx2685 avatar wyx2685 commented on August 19, 2024

@Sugerland 你说的话看不懂...

from v2board.

ZHQSM avatar ZHQSM commented on August 19, 2024

@backend; 这个是什么 有点没理解 写一模一样的》?

from v2board.

wyx2685 avatar wyx2685 commented on August 19, 2024

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.

wyx2685 avatar wyx2685 commented on August 19, 2024

@backend; 这个是什么 有点没理解 写一模一样的》?

这个你看不懂就照着写

from v2board.

ZHQSM avatar ZHQSM commented on August 19, 2024

改完了 也重启了webman 前端卡登录 后端404 这个太难整了 5555

from v2board.

wyx2685 avatar wyx2685 commented on August 19, 2024

我后面换个宝塔环境再出配套说明吧
现在这样太费劲了

from v2board.

ZHQSM avatar ZHQSM commented on August 19, 2024

谢谢 期待教程 webman 以前没接触过 搞了我两天了 我还是没弄好

from v2board.

wyx2685 avatar wyx2685 commented on August 19, 2024

https://github.com/vlesstop/xiaoV2b/blob/main/README.md

from v2board.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.