chore: 优化 nginx-tengine 配置,暂停 System 镜像 yum update,清理临时文件

- nginx-tengine: 编译拆分为 make / make install 两步,改用绝对路径校验版本
- nginx.conf: 日志输出到 stdout/stderr,启用 gzip、epoll、open_file_cache,调整超时与并发参数
- System: 注释掉 yum update,避免升级导致的 nginx 编译失败等问题
- 删除 System/VULNERABILITY_FIX.md 与 System/pip.conf
This commit is contained in:
2025-09-13 21:35:12 +08:00
parent 902eb3c23f
commit d4b7a98035
5 changed files with 55 additions and 163 deletions
+4 -2
View File
@@ -41,9 +41,11 @@ RUN yum install \
--with-stream_ssl_module \
--with-stream_realip_module \
--with-pcre-jit; \
make && make install; \
make; \
make install; \
mkdir -p ${NGINX_HOME}/conf/ssl ${NGINX_HOME}/conf/conf.d; \
nginx -V; \
ls -l ${NGINX_HOME}/sbin; \
${NGINX_HOME}/sbin/nginx -V; \
rm -rf /home/admin/tengine-${TENGINE_VERSION} /home/admin/tengine-${TENGINE_VERSION}.tar.gz
# tengine 默认以 nobody 用户运行 worker 进程,root 启动后自动降权,可直接监听 80/443