nginx与fastdfs配置详解与坑
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
-
nginx配置过程 https://blog.csdn.net/tjcyjd/article/details/69663348
-
ssl与依赖库 https://blog.csdn.net/g1531997389/article/details/79135212
-
安装fastdfs-nginx-module https://blog.csdn.net/zhwyj1019/article/details/79644907
-
编译错误原因 https://github.com/openresty/lua-nginx-module/issues/903
-
nginx安装后无法启动 https://www.cnblogs.com/fnng/p/5268633.html
-
编译错误,也是依赖错误 https://blog.csdn.net/guolongpu/article/details/89475780
/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 名字不能改,就是这个名字
成果图