Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 committed Jan 29, 2024
1 parent 3b7dae9 commit 90a5865
Show file tree
Hide file tree
Showing 117 changed files with 52 additions and 53 deletions.
2 changes: 1 addition & 1 deletion docs/admin/backup/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common';

## 备份方式

使用 Websoft9 时,有三种备份的方式
使用 Websoft9 时,有两种备份的方式

<DocCardList items={useCurrentSidebarCategory().items}/>

Expand Down
16 changes: 0 additions & 16 deletions docs/admin/notify/readme.md

This file was deleted.

22 changes: 3 additions & 19 deletions docs/admin/security/ddos.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,10 @@ sidebar_position: 2
slug: /administrator/security_ddos
---

# DDOS 防御
# DDoS 防御

分布式拒绝服务攻击(DDoS)是目前黑客经常采用的攻击手段,它的原理是:利用合理的服务请求来占用过多的服务资源,从而导致流量消耗或服务器无法正常对外提供服务。

使用云服务器会针对 DDoS 提供一定的防护措施,但用户也可以在 Web Server 上针对 DDoS 作出一定的设置
DDoS 防御常见的方案是增设 DDoS 防护服务,除此之外也可以在自己的网关层面(HTTP Server)做一定的控制

## Apache

使用 Apache 的 **mod_evasive** 模块,防止对 Apache 服务器的暴力攻击。它的工作原理是创建对异常的访问给与 403 响应。

典型的异常访问:

- 每秒请求同一页多次
- 每秒对同一个孩子发出 50 多个并发请求
- 暂时列入黑名单时提出任何要求

具体实施方案:在 Apache 的 conf.d 目录下找到 mod_evasive.conf 文件,进行配置(根据网站安全实际需求来)

![](https://libs.websoft9.com/Websoft9/blog/zh/2020/12/Apache-403-mod_evasive-conf-websoft9.png)

## Nginx

参阅:[Mitigating DDoS Attacks with NGINX and NGINX Plus](https://www.nginx.com/blog/mitigating-ddos-attacks-with-nginx-and-nginx-plus)
Websoft9 网关是基于 Nginx 的,Nginx 的 DDoS 防御参考官方博客:[Mitigating DDoS Attacks with NGINX and NGINX Plus](https://www.nginx.com/blog/mitigating-ddos-attacks-with-nginx-and-nginx-plus)
4 changes: 1 addition & 3 deletions docs/admin/security/firewall.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ slug: /administrator/firewall

在 Linux 中,防火墙是以一个守护进程的方式存在,服务的名字是 firewalld ,它能够定义一组规则来控制外部传入系统中的网络访问。

虽然与 Linux 防火墙流行的工具有:[firewalld](https://firewalld.org/)、iptables 和 nftables,但 firewalld 功能最为强大,它甚至支持图形化。

![](https://libs.websoft9.com/Websoft9/DocsPicture/zh/linux/firewalld-gui-websoft9.png)
虽然与 Linux 防火墙流行的工具有:[firewalld](https://firewalld.org/)、iptables 和 nftables,但 firewalld 功能最为强大。

## 安全组设置{#security}

Expand Down
6 changes: 3 additions & 3 deletions docs/admin/security/insertcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ slug: /administrator/security_insertcode

虽然以上问题比较棘手,但实际上诊断这些问题存在标准化的流程:

1. 使用类似 [sitecheck.sucuri.net] 这种网站安全分析平台,对网站进行初步分析
1. 使用类似 [sitecheck.sucuri.net](https://sitecheck.sucuri.net/) 这种网站安全分析平台,对网站进行初步分析

2. 使用 Linux 杀毒软件 ClamAV 对系统进行全面扫描

Expand Down Expand Up @@ -55,7 +55,7 @@ slug: /administrator/security_insertcode
4. 使用[Datalog](https://www.datadoghq.com/)[Cloudcare](https://www.cloudcare.cn/) 这种在线的监控平台,对系统进行深度的分析。
5. 根据分析结果进行处理

## 范例
## 范例:WordPress 代理植入处理

下面以 WordPress 为例,介绍系统被代码植入后的处理方案。

Expand All @@ -68,7 +68,7 @@ slug: /administrator/security_insertcode

4. 对于【Critical】标记的结果,手工一一处理

## 工具
## 扫描工具

其他扫描工具:

Expand Down
4 changes: 4 additions & 0 deletions docs/admin/settings/system.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,9 @@ slug: /settings/system

点击 **Reset** 按钮重置 API Key

## SMTP

目前 Websoft9 没有提供 SMTP 设置。



File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions docs/contribute/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "贡献",
"position": 9
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions docs/developer/_category_.json

This file was deleted.

4 changes: 3 additions & 1 deletion docs/guide/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ Websoft9 应用是由运行在宿主机上的容器组成,故应用的连接

Websoft9 所有应用的容器共享共一个网络,且每个容器具有唯一的名称(container_name)。

所有,容器名词是容器连接的最简单有效的通道。
所有,**容器名**是容器连接的最简单有效的通道。

打开:Websoft9 控制台 > 我的应用,在应用的管理界面 **容器** 会列出容器名称。

### 容器与宿主机连接

Expand Down
6 changes: 6 additions & 0 deletions docs/reference/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
slug: /api
sidebar_position: 20
---

# API
6 changes: 6 additions & 0 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
slug: /cli
sidebar_position: 20
---

# CLI
2 changes: 1 addition & 1 deletion docs/reference/refer.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 20
slug: /refer
---

# 参考文献
# 文献

本文档编写中参考了大量的第三方资料。

Expand Down
5 changes: 5 additions & 0 deletions docs/reference/service/platform/_category_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
position: 4
label: "按云平台"
collapsible: true
collapsed: true
className: "red"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
position: 7
label: "通知"
position: 4
label: "按用途"
collapsible: true
collapsed: true
className: "red"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 1
slug: /reference/domain
---

# 域名详解
# 域名服务

本节详细介绍用户从没有域名到域名可以访问的“艰难”旅程,同时给出一些域名使用过程中常见的问题。

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
sidebar_position: 6
slug: /administrator/smtp
slug: /smtp-lists
---

# SMTP
# SMTP 服务

应用中配置 SMTP 邮件发送功能是非常重要的设置,它可以用于密码找回和重要操作的通知。

Expand Down
5 changes: 5 additions & 0 deletions docs/reference/stacks/_category_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
position: 1
label: "技术栈"
collapsible: true
collapsed: true
className: "red"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions docs/troubleshoot/howto/_category_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
position: 1
label: "如何解决问题?"
collapsible: true
collapsed: true
className: "red"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 90a5865

Please sign in to comment.