nginx配置详解

NGINX 是一个高性能的 HTTP 和反向代理服务器,它的配置文件非常灵活,支持多种模块和功能。以下是对 NGINX 配置的详解,包括配置文件结构、常见指令以及实际案例。 1. 配置文件结构 NGINX 的默认配置文件路径通常是 /etc/nginx/nginx.conf 或 <

Administrator Administrator 发布于 2024-11-26

开源资源/工具

cloudreve网盘 https://docs.cloudreve.org 1Panel https://1panel.cn 端口开放检测网站 https://uutool.cn/port-check/

Administrator Administrator 发布于 2024-11-22

vps性能检测脚本

Bench.sh wget -qO- bench.sh | bash #或者 curl -Lso- bench.sh | bash #或者 wget -qO- 86.re/bench.sh | bash #或者 curl -so- 86.re/bench.sh | bas

Administrator Administrator 发布于 2024-11-22

acme申请证书

安装 ACME 脚本,并更换默认证书。 // 安装 ACME 脚本 curl https://get.acme.sh | sh // 设置acme.sh别名,方便后续使用 alias acme.sh=~/.acme.sh/acme.sh // 设置 ACME 脚本自动

Administrator Administrator 发布于 2024-11-22

ufw防火墙设置

ufw安装 # 安装 apt install ufw # 检查ufw状态,默认为未激活 ufw status verbose 配置前操作 # 重置所有规则 ufw reset # 开启 ufw enable 设置默认策略 ufw defaul

Administrator Administrator 发布于 2024-11-22

常用命令

# dd 1G文件 dd if=/dev/zero of=1g.img bs=1 count=0 seek=1G samba添加 # 安装工具 apt install cifs-utils # 挂载 mount -t cifs -o rw //sambaserver cur

Administrator Administrator 发布于 2024-11-22