帮帮我,秦始皇先生 (@s4afa451dgf415f) 在 求一个包含nginx正代模块ngx_http_proxy_connect_module的镜像或dockerfile 中发帖
我自己尝试了下但是在最后加载动态模块的时候失败了
我的尝试配置如下:
docker-compose.yml
version: '3.8'
services:
nginx-proxy:
build: .
container_name: nginx-proxy
ports:
- "80:80"
- "3007:3007"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
restart: unless-stopped
Dockerfile
# 指定明确版本
ARG NGINX_VERSION=1.26.0
FROM nginx:${NGINX_VERSION} AS builder
# 安装编译依赖
RUN apt-get update && apt-get...