This is my personal static website.
Put pre-commit
hook under .git/hooks/
so that build.sh
is
automatically run each time before committing.
The scripts ./run.sh
and ./stop.sh
no longer require root
privilege and the following alert is ignorable.
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)