linux_ftp+nginx图像服务器搭建
创建用户并设置访问权限
$ cd /home/ftpuser/
$ mkdir /home/ftpuser/www
$ mkdir /home/ftpuser/www/images
$ chmod -R 777 /home/ftpuser
/usr/local/nginx/conf/nginx.conf # 配置文件
server {
listen 80;
server_name image.beidiancloud.com;
location / {
root /home/ftpuser/www;
index index.html index.htm;
}
}


浙公网安备 33010602011771号