nginx与fastdfs配置详解与坑

时间:2023-12-22 23:25:02

nginx与fastdfs配置详解与坑

环境

ubantu19.04

fastdfs-5.11

fastdfs-nginx-module-1.20

libfastcommon-1.0.39

nginx-1.15.12

pcre2-10.33

openssl-1.0.2r

/usr/local/nginx/conf/nginx.conf修改内容
server {
listen 8888;
server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location ~/group[0-9] {
ngx_fastdfs_module;
}

解压缩后的fastdfs文件夹下的conf目录下面的http.conf和mime.types复制到/etc/fdfs 名字不能改,就是这个名字

成果图

nginx与fastdfs配置详解与坑

nginx与fastdfs配置详解与坑