1. xftp cannot connect to the server
After configuring the correct ip, username and password in xftp, I can't connect
Solution: Change the FTP in the protocol to SFTP. Note that after changing to SFTP, the port will be changed to 22 by default. If it is still the original 21, it will still not be connected.
2. Nginx appears 403 Forbidden and finally solved
When configuring with nginx, a 403 access forbidden error occurs
Solution: Open nginx.conf, for example: vim /etc/nginx/nginx.conf, change the user name to user root or other user name with high authority
The original general default is: , change to: user root;