feat: nginx 镜像预建 conf/ssl 与 conf/conf.d 目录并新增 nginx.conf 配置

This commit is contained in:
2025-08-02 21:20:30 +08:00
parent ea0f84abb3
commit 48b4ebc5c5
2 changed files with 23 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ RUN yum install \
--with-stream_realip_module \
--with-pcre-jit; \
make && make install; \
mkdir -p ${NGINX_HOME}/conf/ssl ${NGINX_HOME}/conf/conf.d; \
nginx -V; \
rm -rf /home/admin/tengine-${TENGINE_VERSION} /home/admin/tengine-${TENGINE_VERSION}.tar.gz
# tengine 默认以 nobody 用户运行 worker 进程,root 启动后自动降权,可直接监听 80/443