随笔分类 -  #宝塔配php

摘要:location ~* (runtime|application)/{ return 403;}location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; }} 阅读全文
posted @ 2025-07-30 03:07 JS脚本 阅读(25) 评论(0) 推荐(0)
摘要:location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; } } 在配置里加这个就可以了 阅读全文
posted @ 2025-05-22 21:30 JS脚本 阅读(16) 评论(0) 推荐(0)
摘要:您好,这个错误通常是由于使用了不兼容的 OpenSSL 版本导致的,X509Req 版本只支持 0。您可到服务器终端执行以下命令 btpip install pyOpenSSL==22.1.0 btpip install cffi==1.14 bt 1 阅读全文
posted @ 2023-06-09 22:02 JS脚本 阅读(111) 评论(0) 推荐(0)
摘要:源网站 最近导航网站经常被流量攻击,疯狂跑网站流量,两个小时20G左右吧,一直困扰着我, 后来在电报群里的大神指点下,用上了CF的WAF的防火墙规则! 添加防火墙规则表达式 第一 (cf.threat_score ge 5 and not cf.client.bot) or (not http.re 阅读全文
posted @ 2023-06-08 14:09 JS脚本 阅读(867) 评论(0) 推荐(0)
摘要:tilda.cc这个无代码建站听说过吗 我看有老外用这个 阅读全文
posted @ 2023-06-07 22:42 JS脚本 阅读(28) 评论(0) 推荐(0)
摘要:麻烦您到服务器命令行执行下面命令修复下 btpip install -I requests==2.27 bt 1 您好,该问题是requests模块库与OpenSSL模块问题导致的,您那边可到服务器命令行下使用下面命令尝试解决。 修复requests模块命令: btpip install reque 阅读全文
posted @ 2023-06-07 18:30 JS脚本 阅读(74) 评论(0) 推荐(0)
摘要:骨文国外VPS服务器一直宣称是永久免费的。因此也吸引了不少人去搞账号。很多人也一直免费的使用着甲骨文的服务器。 只是最近官方来了则通告:通过地址:https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Fre 阅读全文
posted @ 2023-06-07 17:00 JS脚本 阅读(1636) 评论(0) 推荐(0)
摘要:哪吒面板作者仓库https://github.com/naiba/nezha 准备工作准备一个域名注册一个github的账户准备一条vps作为面板机器,并搭建好宝塔面板。 1、安装宝塔wget -O install.sh http://download.bt.cn/install/install-u 阅读全文
posted @ 2023-06-06 22:00 JS脚本 阅读(812) 评论(0) 推荐(0)
摘要:在我们使用宝塔面板的过程中,一定会遇到很恶心的绑定账号的问题。今天我就来介绍宝塔面板的国际版——aaPanel SSH登录至VPS 执行以下命令安装aaPanel CentOS: yum install -y wget && wget -O install.sh http://www.aapanel 阅读全文
posted @ 2023-06-06 01:07 JS脚本 阅读(1490) 评论(0) 推荐(0)
摘要:一般都会有,宝塔php默认支持CURL函数,你也可以看看新建一个php文件输入<?php phpinfo();?>访问查看是否支持 阅读全文
posted @ 2020-09-10 09:28 JS脚本 阅读(1087) 评论(0) 推荐(0)