all notes written for ubuntu 16.04 LTS
mv - rename and/or move files adduser - add user which - path to bin
- nginx lives at
/etc/nginx - roughly speaking, the configs in
./sites-enableddefine sites that are being served ./sites-availableis a sort of staging area- commonly(?) you enable a config that's in
./sites-availableby symlinking it from./sites-enabled:sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled - actual site files being served are generally stored in
/var/www/html - nginx must reload configurations for changes to
./sites-enabledto take effect:sudo nginx -s reload