confusion in DO article about nginx

November 26, 2013 2k views
I have a question about something in this tutorial about Nginx virtual hosts In step 2, it says "You can replace the "www" below with the appropriate username." sudo chown -R www-data:www-data /var/www/ This instruction is very unclear because there's three 'www' in that one command. I know the `www` in the path should not be replaced by my name, but what about the other two `www`. do i replace both? do I replace `data` as well? If my username's 'Michael' what should that command look like? sudo chown -R Michael /var/www/ or sudo chown -R michael-data:www-data /var/www/ or sudo chown -R michael-data:michael-data /var/www/ or ??
1 Answer
It should be michael:michael -- I've updated the article. Thanks :]
Have another answer? Share your knowledge.