如果 Nginx切换apache后,原站点全不显示也可用以下方法
进入文件管理或命令行方式进入:/www/server/panel/data目录下
编辑pay_type.json文件,将下面内容添加到pay_type.json文件内:
- [
- {
- “type”: 0,
- “pay”: “45”,
- “describe”: “首页-企业版推荐”,
- “show”: true,
- “route”: “home”,
- “name”: “ltd”,
- “price”: “999.99”,
- “preview”: “https://www.bt.cn/new/product/linux_ltd.html”,
- “ps”: [
- “5分钟极速响应”,
- “15天无理由退款”,
- “30+款付费插件”,
- “20+企业版专享功能”,
- “2张SSL商用证书(年付)”,
- “1000条免费短信(年付)”,
- “专享企业服务群(年付)”
- ]
- },
- {
- “type”: 1,
- “describe”: “首页-软件管理-常用软件推荐”,
- “show”: true,
- “route”: “home”,
- “list”: [
- {
- “pay”: “40”,
- “title”: “网站防火墙”,
- “name”: “btwaf”,
- “isBuy”: false,
- “install”: false,
- “pid”: 100000010,
- “dependent”: “nginx”,
- “pluginType”: “pro”,
- “preview”: “https://www.bt.cn/new/product_nginx_firewall.html”,
- “ps”: “web防火墙,有效抵御CC攻击、SQL注入、XSS跨站攻击、建站程序漏洞、一句话木马等常见渗透攻击”
- },
- {
- “pay”: “40”,
- “title”: “网站防火墙”,
- “name”: “btwaf_httpd”,
- “install”: false,
- “isBuy”: false,
- “pid”: 100000012,
- “pluginType”: “pro”,
- “dependent”: “apache”,
- “preview”: “https://www.bt.cn/new/product_nginx_firewall.html”,
- “ps”: “web防火墙,有效抵御CC攻击、SQL注入、XSS跨站攻击、建站程序漏洞、一句话木马等常见渗透攻击”
- },
- {
- “pay”: “41”,
- “title”: “网站监控报表”,
- “name”: “total”,
- “isBuy”: false,
- “install”: false,
- “pluginType”: “pro”,
- “pid”: 100000014,
- “preview”: “https://www.bt.cn/new/product_website_total.html”,
- “ps”: “网站监控报表,实时精确统计网站流量、ip、uv、pv、请求、蜘蛛等数据”
- },
- {
- “pay”: “42”,
- “title”: “堡塔企业级防篡改”,
- “name”: “tamper_core”,
- “isBuy”: false,
- “install”: false,
- “preview”: “”,
- “pid”: 100000067,
- “pluginType”: “ltd”,
- “ps”: “事件型防篡改程序,可有效保护网站重要文件不被木马篡改”
- },
- {
- “pay”: “43”,
- “title”: “堡塔防入侵”,
- “name”: “bt_security”,
- “isBuy”: false,
- “install”: false,
- “pid”: 100000054,
- “pluginType”: “ltd”,
- “preview”: “”,
- “ps”: “防御大多数的入侵提权攻击造成的挂马和被挖矿”
- },
- {
- “pay”: “44”,
- “title”: “微步木马检测”,
- “name”: “oneav”,
- “isBuy”: true,
- “install”: false,
- “pid”: 0,
- “pluginType”: “0”,
- “preview”: “”,
- “ps”: “能检测市面上99%的常见流行木马病毒文件,精确检测木马威胁。”
- }
- ]
- },
- {
- “type”: 2,
- “pay”: “33”,
- “describe”: “首页-状态-任务管理器”,
- “show”: true,
- “route”: “home”,
- “list”: []
- },
- {
- “type”: 3,
- “pay”: “34”,
- “describe”: “首页-安全入口-推荐安全软件”,
- “show”: true,
- “route”: “home”,
- “list”: []
- },
- {
- “type”: 4,
- “pay”: “35”,
- “describe”: “网站-网站加速”,
- “show”: false,
- “name”: “waf_nginx”,
- “title”: “网站加速”,
- “pluginName”: “堡塔nginx站点加速”,
- “ps”: “基于nginx页面缓存的网站加速插件,推荐WordPress用户安装,效果显著,仅支持Nginx”,
- “preview”: “”,
- “eventList”: [
- {
- “event”: “”,
- “version”: “”
- }
- ]
- },
- {
- “type”: 5,
- “describe”: “网站-设置推荐”,
- “show”: true,
- “list”: [
- {
- “title”: “防火墙”,
- “name”: “btwaf”,
- “pay”: “46”,
- “pluginName”: “Nginx网站防火墙”,
- “ps”: “有效拦截SQL 注入、XSS跨站、恶意代码、网站挂马等常见攻击,过滤恶意访问,降低数据泄露的风险,保障网站的可用性。”,
- “preview”: “https://www.bt.cn/new/product_nginx_firewall.html”,
- “dependent”: “nginx”,
- “pluginType”: “pro”,
- “eventList”: [
- {
- “event”: “site_waf_config(‘$siteName’)”,
- “version”: “5.2.0”
- }
- ]
- },
- {
- “title”: “防火墙”,
- “name”: “btwaf_httpd”,
- “pay”: “46”,
- “pluginName”: “网站防火墙”,
- “ps”: “有效拦截SQL 注入、XSS跨站、恶意代码、网站挂马等常见攻击,过滤恶意访问,降低数据泄露的风险,保障网站的可用性。”,
- “preview”: “https://www.bt.cn/new/product_nginx_firewall.html”,
- “dependent”: “apache”,
- “pluginType”: “pro”,
- “eventList”: [
- {
- “event”: “site_waf_config(‘$siteName’)”,
- “version”: “5.2.0”
- }
- ]
- },
- {
- “title”: “统计”,
- “name”: “total”,
- “pay”: “47”,
- “pluginName”: “网站监控报表”,
- “ps”: “快速分析网站运行状况,实时精确统计网站流量、ip、uv、pv、请求、蜘蛛等数据,网站SEO优化利器”,
- “preview”: “https://www.bt.cn/new/product_website_total.html”,
- “dependent”: “apache”,
- “pluginType”: “pro”,
- “eventList”: [
- {
- “event”: “WebsiteReport(‘$siteName’)”,
- “version”: “5.0”
- }
- ]
- },
- {
- “title”: “统计”,
- “name”: “total”,
- “pay”: “47”,
- “pluginName”: “网站监控报表”,
- “ps”: “快速分析网站运行状况,实时精确统计网站流量、ip、uv、pv、请求、蜘蛛等数据,网站SEO优化利器”,
- “preview”: “https://www.bt.cn/new/product_website_total.html”,
- “dependent”: “nginx”,
- “pluginType”: “pro”,
- “eventList”: [
- {
- “event”: “WebsiteReport(‘$siteName’)”,
- “version”: “5.0”
- }
- ]
- }
- ]
- },
- {
- “type”: 6,
- “show”: true,
- “describe”: “网站管理-推荐安全软件”,
- “list”: [
- {
- “title”: “网站防篡改程序”,
- “pay”: “60”,
- “name”: “tamper_proof”,
- “product_introduce”: [
- “保护站点内容安全”,
- “阻止黑客非法修改网页”,
- “阻止网站被挂马”,
- “阻止其他入侵行为”
- ],
- “previewImg”: “https://www.bt.cn/Public/new/plugin/introduce/site/tamper_proof_preview.png”,
- “menu_id”: 15,
- “menu_name”:”防篡改”,
- “isBuy”: false,
- “pid”: 100000015,
- “pluginType”: “pro”,
- “preview”: “”,
- “ps”: “事件型防篡改程序,可有效保护网站重要文件不被木马篡改”
- },
- {
- “title”: “限制访问型证书”,
- “pay”: “61”,
- “name”: “ssl_verify”,
- “pluginType”: “ltd”,
- “product_introduce”: [
- “限制指定人员访问”,
- “双向认证”,
- “内网自签SSL”
- ],
- “previewImg”: “https://www.bt.cn/Public/new/plugin/introduce/site/ssl_verify_preview.png”,
- “menu_id”: 3,
- “menu_name”:”访问限制”,
- “isBuy”: false,
- “pid”: 100000062,
- “preview”: “”,
- “ps”: “提供双向认证证书,可用于限制指定人员访问”
- }
- ]
- },
- {
- “type”: 7,
- “show”: true,
- “describe”: “文件管理-推荐安全软件”,
- “list”: [
- {
- “title”: “文件同步”,
- “pluginName”: “文件同步”,
- “pay”: “70”,
- “name”: “rsync”,
- “pluginType”: “pro”,
- “ps”: “基于rsync开发的文件同步工具,可用于异地备份、多台主机之间的文件实时或增量同步”,
- “previewImg”: “https://www.bt.cn/Public/new/plugin/rsync/1.png”,
- “menu_id”: 15,
- “isBuy”: false,
- “pid”: 100000005,
- “preview”: “”
- }
- ]
- }
]