add nginx config;
improve stdout and stderr;
add daemon mode;
update Makefile;
update Makefile;