Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

better chmod root folder

$
0
0
Hello,

I run nginx using user and group www-data:www-data.
FTP user and group is ftp:ftp

I want to change root folder from /var/www/domain.com to /home/user1/www (user1=user no have home directory)

For better security, what user and group for that new folder and what the better chmod so ftp can connect to that folder?

thank you,

Dave

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>