ahxcjxzxh 发表于 2017-12-23 22:35:00

配置nginx为FastDFS的storage server提供http访问接口

# wget http://nginx.org/download/nginx-1.8.1.tar.gz  # tar xvf nginx-1.8.1.tar.gz
  # cd nginx-1.8.1/
  # yum install -y pcre-devel openssl-devel
  # yum groupinstall -y "Development Tools"
  # ./configure --prefix=/usr/local/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx --with-http_ssl_module --with-http_stub_status_module --with-pcre --add-module=/root/fastdfs-nginx-module/src
  # make && make install
  # useradd -r nginx
页: [1]
查看完整版本: 配置nginx为FastDFS的storage server提供http访问接口