yum install / info vsftpd
useradd ftpuser
passwd ftpuser
chmod -R 766 /home/ftpuser/
Nginx is used to provide image browser service, so we have to change its working directory to point to the above sftp location.
apart from this, the first line of the nginx.conf file need to be change
before update:
user nginx
after update:
user root
to do this is to address the issue which is related to no access and permission to view a file, that is 403 forbidden issue.
转载请注明原文地址: https://ju.6miu.com/read-16285.html