it had a bug that it would not find usr/lib/nginx i made the modules dynamic so it work

This commit is contained in:
2025-11-13 17:54:02 +00:00
parent 4568d8854b
commit 14d485da00

View File

@@ -19,9 +19,9 @@ RUN curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.ta
--http-log-path=/var/log/nginx/access.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_gzip_static_module \
--with-http_ssl_module=dynamic \
--with-http_v2_module=dynamic \
--with-http_gzip_static_module=dynamic \
&& make && make install
# --- Stage 2: runtime ---