Brutal Nginx安装
apt update && apt install -y build-essential nginx unzip git wget curl libpcre3-dev zlib1g-devbash <(curl -fsSL https://tcp.hy2.sh/)git clone https://github.com/sduoduo233/brutal-nginx.gitmkdir ~/nginx && cd ~/nginx查看安装的nginx版本
nginx -v下载nginx源码
wget http://nginx.org/download/nginx-1.24.0.tar.gz && tar -xf nginx-1.24.0.tar.gz && cd nginx-1.24.0构建nginx插件
./configure --with-compat --add-dynamic-module=/root/brutal-nginx && make modules以nginx 1.24.0为例,配置以下内容
cd /etc/nginx/ && wget https://blog.0112233.xyz/static/nginx-1.24.0.zip -O nginx-1.24.0.zip && unzip -o nginx-1.24.0.zip && sudo systemctl reload nginx - 上一篇: 安装带端口跳跃的hy2
- 下一篇: 没有了