nginx添加模块fastdfs-nginx-module(docker版,不需要重写dockerfile)
一、fastdfs-nginx-module模块准备
1.1、下载模块
git clone https://gitee.com/fastdfs100/fastdfs-nginx-module.git
1.2、配置模块参数
进入src编辑mod_fastdfs.conf配置文件
编辑base_path、tracker_server、storage_server_port、store_path0
二、重新制作nginx的二进制执行文件
2.1、查看nginx版本
docker exec -it nginx bash
nginx -V