Question
ubuntu 14.04 about nginx web folder FTP
Hi all ,
i was set up lemp and vsftpd. No problem about installing. my question is when i connect to server by ftp , i dont see the nginx’s web folder. i want to use vps as a web server. so i need to upload web files to that folder. i wrote “chown root:root /usr/share/nginx ”. but it doesn’t work. i searched other topics and tutorials but i couldnt find anything.
my web server works right now. thanks for your help.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hi first of all please make sure you read this article about your server security.
Initial Server Setup with Ubuntu 14.04
How To Set Up vsftpd on Ubuntu 12.04
If you are going to have any server side scripts, make sure you don’t have any security holes in your scripts at least change the file owner and group to another. because root means full access, imaging what they can do if you have a security hole.