主要步骤参见https://blog.csdn.net/allblueee/article/details/125990233
其中Nginx版本与该博文不同,另外Nginx reload的时候如果出现如下问题:
nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)
则应该先执行以下命令
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf (/usr/local/nginx/conf/nginx.conf为配置文件的路径)
然后再执行reload
/usr/local/nginx/sbin/nginx -s reload
标签:conf,nginx,FastDFS,Nginx,usr,版本,local
From: https://www.cnblogs.com/zawaludo/p/16927617.html